Dynamic dropdown list not displaying values in grid
I have a grid. Each row of the grid contains a dynamic dropdown list as: <select id="selAcc"></select>
After the grid is created, I filled in the dropdown list with the dynamic values I retrieved.
In firefox, it is working well. The grid is created and the dynamic dropdown list is filled with the values.
But in IE, the grid is created and the dropdown list is empty.
Please help. I've been stuck in this issue for a while.
Thanks a lot.
Monday, June 30, 2008
Which method are you using for adding options to the select tag?
Thursday, July 3, 2008
I use dwr.util.addOptions(...) for adding options to the select tag. I just installed the new version activeWidgets.
This issue is happening in both IE and firefox. The dynamic dropdown list in the grid can't be filled with the values.
Tuesday, July 22, 2008
The grid repaints (dynamically adds/removes) the cells when you scroll or sort the grid. For this reason it is not a good idea to change the generated DOM elements as they will be overwritten in the next refresh. You should be adding the complete select tag and not the empty one as you do.