Categories | Question details Back To List | ||
How to get column attributes from cell MY XML. <?xml version="1.0" encoding="UTF-8" standalone="no"?> <rows> <head> <column align="right" sort="int" type="ro" width="80">CostumerId</column> <column align="right" sort="int" type="ro" width="80" TableProduct="products">ProductID</column> <column align="right" id="38" sort="str" type="ed" width="80">NameOfCosutumer</column> <column align="right" id="38" sort="str" type="ed" width="80">Addres</column> </head> <row id="1" > <cell>1</cell> <cell>45</cell> <cell>Martin</cell> <cell>cll 4 # 36 54</cell> <row> <row id="2" > <cell>2</cell> <cell>48</cell> <cell>Sandra</cell> <cell>cll 4 # 36 as</cell> <row> </rows> HOW TO GET THE "TableProduct" ATTRIBUTE WHEN I HAVE A SELECTED CELL AND ROW ??? Answer posted by dhxSupport on Jun 24, 2009 07:46 Unfortunately there is no possibility to get attributes from the <column> xml tags. If you need store additional data in the grid's xml you can use user data. Please check this article http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Storing_additional_data.html#grid_art_userdata |