This example demonstrates late binding of select list options.
Column Ship Country has select editor with remote data in array format being fetched from server in create event via $.getJSON
and assigned to column.editor.options.
[ "USA", "Afghanistan", "Akrotiri", "Albania", "Algeria", ...]
Column Shipping Via has select editor with remote data in JSON format being fetched from server in create event via $.getJSON
and assigned to column.editor.options.
[{"value": "", "text": ""}, {"value": "SE", "text": "Speedy Express" }, {"value": "UP", "text": "United Package" }, {"value": "FS", "text": "Federal Shipping"}]
Column Shipping Via ID is automatically populated with value from select editor in Shipping Via column.