Categories | Question details Back To List | ||
dhtmlxgrid assign value to ro/ch hi, how to assign value to ro/ch in XML file and how to read it in Grid event <?xml version='1.0' encoding='iso-8859-1'?> <rows> <row id='0'> <cell type="ch">0</cell> ===>How to assign value if Checked value is '230202' <cell>0002091188</cell> <cell>2682</cell> </row> </rows> <?xml version='1.0' encoding='iso-8859-1'?> <rows> <row id='0'> <cell type="ra">0</cell> ===>How to assign value if selected value is '230202' <cell>0002091188</cell> <cell>2682</cell> </row> </rows> How to access the value using Grid Events Answer posted by Support on Dec 08, 2008 02:24 You can't really assign value directly to ch|ra cell , but you can store it as additional attribute and get when necessary <rows> <row id='1'> //<= 0 is reserved value <cell type="ra" myvalue='230202'>0</cell> on client side var val=grid.cells(1,0).getAttribute("myvalue"); |