Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Paul on Nov 25, 2008 08:36
open dhtmlx forum
Can I use saveOpenStates('xyz') & loadOpenStates('xyz') to 'copy' treegrid structures?

Hi,

I have two treegrids on a page, with identical tree elements but different columns. I want them to have the same expanded state. Can I use saveOpenStates('xyz') & loadOpenStates('xyz') to transfer expanded state between them?

Thanks, Paul.

Answer posted by Support on Nov 25, 2008 08:47
If row IDs identical - yes you can save grid for one treegrid and restore for another, just use the same name string as first parameter for both commands.