"childColumnStatic" is undefined

Jul 10, 2012 at 2:06 PM

Hi All,

I am getting the "childColumnStatic" is undefined .

I am trying to implement cascading dropdown using the below code.  Here the column "profilesystem" contains more than 20 items. The below code works fine if the number of columns is less than 20 items. Please help


$().SPServices.SPCascadeDropdowns({
        relationshipList:"Unit",
        relationshipListParentColumn:"profilesystem",
        relationshipListChildColumn:"Unit",
        parentColumn:"ProfileSystem",
        childColumn:"Profile_x0020_Unit"
 });

Jul 10, 2012 at 2:57 PM

Hi all,

 

It started working after i renamed the chilColumn from "Profile_x0020_Unit " to ProfileUnit... dono whether there is something to do with the name...

Coordinator
Jul 10, 2012 at 9:06 PM
Edited Jul 10, 2012 at 9:16 PM

That says that the DisplayName for the column is ProfileUnit, and not Profile_x0020_Unit. The childColumn should be the DisplayName.

M.