Categories | Question details Back To List | ||
dhtmlxgrid - xml - selectBox coro or ComboBox co Hello !!! I again. Attempt load xml file with configuration. THE FILE <?xml version="1.0" encoding="UTF-8"?> <rows> <head> <column width="80" type="ed" align="right" sort="str">Sales</column> <column width="80" type="coro" align="left" sort="str">Shipping <option value="1">10</option> <option value="2">20</option> <option value="3">30</option> </column> <column width="100" type="ed" align="left" sort="str">Author</column> <column width="100" type="ch" align="left" sort="int">Check</column> <column width="100" type="dhxCalendar" align="left" sort="str">Date</column> <afterInit> <call command="attachHeader"> <param>#text_filter,#select_filter,#combo_filter</param> </call> </afterInit> <settings> </settings> </head> <row id="a"> <cell>Model 1</cell> <cell>1^10</cell> <cell>399</cell> <cell>0</cell> <cell>03/02/1987</cell> </row> <row id="b"> <cell>Model 2</cell> <cell>6^50</cell> <cell>649</cell> <cell>0</cell> <cell>2009-06-01</cell> </row> <row id="c"> <cell>MOdel 3</cell> <cell>7^70</cell> <cell>877</cell> <cell>1</cell> <cell>2009-06-03</cell> </row> </rows> --------------------------------------------------------------- In grid init OK but when show data in column "Shipping" with type=coro or co the value is #^#. The question is: How to the correct way to make the xml file, for save a combo or Select box with value and text??????? Answer posted by dhxSupport on Jun 19, 2009 07:13 Instead of using <cell>1^10</cell> <cell>6^50</cell> <cell>7^70</cell> You have to use <cell>1</cell> <cell>6</cell> <cell>7</cell> Answer posted on Jun 19, 2009 07:25 VERY THANKS !!!! PROBLEM SOLVED |