EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Ellipsis on March 03, 2013, 08:41:42 AM



Title: dropdown option data inside the json of a datagrid: example
Post by: Ellipsis on March 03, 2013, 08:41:42 AM
I needed a combogrid pre filled and a certain value already selected inside the datagrid rows.
Each row of the datagrid can contain completely different items.

The jsfiddle shows an attempt, I'm sure it's not the most efficient way to do this, especially when hitting thousands of rows...

http://jsfiddle.net/reno1979/ZPSUL/

Tips are welcome

Update: The use of combogrids inside the datatable rows results in a heavy performance penalty. The fiddle is adjusted so that the dropdowns inside the datagrid cells are simple standard HTML selects.
Because of the use of console.timer the example code will not run on IE.