Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Richard White on Nov 23, 2007 13:51
open dhtmlx forum
serialisation output

can the serialization also output whether a cell or row is disabled / locked, and can it also output whether an item is open

thanks
Answer posted by Stanislav on Nov 26, 2007 02:11
Current version of grid doesn't support both attributes in serialization output.
Serialization of open|closed nodes will be included in next build of dhtmlxTreeGrid ( if you need it ASAP - please contact directly at support@dhtmlx.com - I will send you an updated code )
The "locked" attribute not planed to be supported, you can add it manually by change similar to next


dhtmlxgrid.js, line 2853
out.push("<row id='"+r.idd+"'"+selStr+" "+((r.expand=="")?"open='1'":"")+">");

it this line any attribute can be added
out.push("<row "+(r._locked?"locked='true'":"")+...