ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: suvalkon on September 02, 2014, 11:12:26 am
-
Hi
How can you set the default value that has been set up in the grid column so that in EDIT mode if the column has an editor "select" that the default equivalent description is displayed first.
ie the select has a text/value pair, the text is displayed and once selected the value is repopulated in the cell.
eg initially the value may be "PU" which denotes "PICKUP".
I want the "PICKUP" to display in the select list by default as the first one.
Thanks
-
Please refer the API
http://paramquery.com/pro/api#option-column-editor
Data for select editor can be written as [ { "PU": "PICKUP" }, ... ]
"PU" can be shown by default in the select list by either making it first entry or made selected option in the editor.init callback