ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: developer1 on June 10, 2022, 07:29:41 pm
-
Provide a demo where I can disable of selection of item from dropdown based on the logic
-
For your reference screenshot attached,
We are facing the issue to setup the item in dropdown list.
We have two requirements,
1) Need to disable some item for selection
2) Need some extra space in the item hierarchy-wise
-
1. option can be disabled dynamically by adding pq_disabled: true property
Please check editor.options callback in this example https://paramquery.com/pro/demos/editors_conditional
2. leading space can be added by adding   in the option text.
e.g., { "value": "SE", "text": " Speedy Express" }