section_id

how to get values label or other that in section i have

[code]elements = [ // original hierarhical array to display

         {key:1, label:"Gynecology", open:true, children: [
{key:2, label:"name", ids:"15"}]},

{key:3, label:“Pregnancy”, children: []},
{key:4, label:“Consulting”, children: []},
{key:5, label:“Dental”, children: []}
]; [/code]

i need value “ids”, i have the key value by section_id …

please help

scheduler.getLabel(“section_id”,data.section_id)

TypeError: Result of expression ‘B’ [null] is not an object.

Hello,

Be sure to check getSection() function.

Best regards,
Ilya

thanks :wink: that i needed