But I want a particular list box element to be selected by default.
For Eg: If I populate the list with elements [1,2,3,4,5,6,7,8,9,10] in the same order.
Then I want item “5” to be selected, when the grid is displayed the first time.
How can I achieve this?
I tried this, but could not get it properly. The option id you pass as the cell value, is being treated as another item in the list. This is not what I want. After I populate the list, i want a item from that list to be selected.
After doing the above, I should have 3 items in the list, and “Year 2010” should be selected.
But what I get is, 4 items in the list, with “2010” as the last item.
Hi all, I have a similar issue, Im trying, to set selected item.
Is there a method to do that from js??.
I am using the “Initialization from js loadXMLString event, where I load the select box for each cell of the 2nd column, for each row .
I would like to choose the selected item on edit event but I dont know which method I should use.
The column type is “coro”.
Thanks anyway
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan