Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SPServices.SPCascadeDropdowns not working on 20+ options Parent Columns in IE8

Hi ,

Please find below my issue and scenario explanation. Since i have no option to attach the text file . I am posting the entire scenario and clear explanation.

Here is the clear explanation..

I have 4 lists
1) Phase 2) Gate 3) Nation 4) Tally
***********************************
Data In the Phase List
************************************

ID   Phase

1    disco     

2    demat
 
3    dev

4    Department
**************************************
Data in Gate List
***************************************

ID        Gate       Phase --> (Lookup of phase list)

1         Idea       disco

2         Mary       disco

3         Ref        disco

4         AST        demat  

5         test       demat

6         up          dev

7        launch       dev

8         any         Department
******************************************************  
Data in nation  List
******************************************************

ID   Nation

1     USA

2     Australia

***********************************************************
******************************************************  
Data in Tally List
*****************************************************

ID   Tally    Gate (Lookup Gate List)       Nation (Lookup nation List) 

1    Mydata    Idea                          USA

2    TES       Mary                          Australia

3    REF       Mary                          USA

4   UDF       Mary                           USA

*******************************************************************
In shared Document library I have created Lookup columns Like below
1) Phase (Lookup of Phase List)

2) Gate (Lookup of Gate List)

3) Tally (Lookup of Tally List)

4) Nation (Lookup of Nation List)
Now I want cascading like below

Phase--> Gate--> Tally-->Nation


The below script is not working in Ie when Tally has 20+ items.. I.e When Tally (Lookup feild) has 20+ items then When Tally is selected organization cascading is not working.
The same is working fine in Google Chrome and Firefox.Can you please Help me ..
<script src="/Style%20Library/jquery-1.8.3.min.js"></script>
<script language="javascript" src="/Style%20Library/jquery.SPServices-0.7.2.min.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">


$(document).ready(function() {

$().SPServices.SPFilterDropdown({
 
 relationshipList: "Phase",
 relationshipListColumn: "Title",
 relationshipListSortColumn: "ID",
 columnName: "Phase",
 CAMLQuery: "<Neq><FieldRef Name='Title' /><Value Type='Text'></Value></Neq>",
 debug: true // Debug mode on while we're developing
});


$().SPServices.SPCascadeDropdowns({
            relationshipWebUrl: $().SPServices.SPGetCurrentSite() + "/Lists",
            relationshipList: "Gate",
            relationshipListParentColumn: "Phase",
            relationshipListChildColumn: "Title",
            parentColumn: "Phase",
            childColumn: "Gate",
                        CAMLQuery: "",
            debug: true
        });

$().SPServices.SPCascadeDropdowns({
            relationshipList: "{AAE185DD-DAAB-4CA9-9CD5-5BB32BF78318}",---->(Tally list GUID)
            relationshipListParentColumn: "Gate",
            relationshipListChildColumn: "Title",
            parentColumn: "Gate",
            childColumn: "Tally",
            relationshipListSortColumn: "count",
                        CAMLQuery: "",
                        
            debug: true
               });
    $().SPServices.SPCascadeDropdowns({
            relationshipWebUrl: $().SPServices.SPGetCurrentSite() + "/Lists",
    
            relationshipList: "{AAE185DD-DAAB-4CA9-9CD5-5BB32BF78318}",---->(Tally list GUID)
            relationshipListParentColumn: "Title",
            relationshipListChildColumn: "Nation",
            parentColumn: "Tally",
            childColumn: "Nation", 
                         CAMLQuery: "",
            debug: true
});




});</script>

Thanks,
Sandy

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>