collapseall()

Hello Team,

I have developed the checkboxes on server side using input tag and displaying row by row in a tree grid. If i wish to collapse all these checkboxes at a time, collapseAll() method is not working.
Can you help me in anyway to collapse all the checkboxes at a time ?

Thanks,
Dumpa

Please provide the code snippet which doesn’t work.
( as fast suggestion - be sure that you are calling collapseAll from loading callback, when all data is in treegrid. Calling this command while data is not loaded - will not have effect)