ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Sunny on June 05, 2015, 01:41:48 am
-
Hi,
I have requirement to display different select options under the same column based on row data. I searched in the demo/forums, but couldn't find an example.
Lets say, in the example http://paramquery.com/pro/demos/editing_custom2, Column Shipping Via has select editor with options always static across all rows.
How to display options for one row as {"value": "SE", "text": "Speedy Express" }, {"value": "UP", "text": "United Package" } and other row as {"value": "DHL", "text": "DHL Express" }, {"value": "UPS", "text": "United Package Services" }, which are dynamic based on the data contained in that particular row ....
Appreciate if you can provide example for this.
Thanks.
-
Different options can be displayed in same column with help of editor.options callback.
There is an example which displays different options in Region column based on ShipCountry in same row.
http://paramquery.com/pro/demos/cascade_select
-
Thank you admin for providing the example. I could make it to work now.