ParamQuery grid support forum
General Category => Bug Report => Topic started by: vsa on January 19, 2021, 09:52:29 pm
-
Hello,
You can see in the animated GIF behavior of the editor and its mapped field:
mapIndices: { "text": "ShipVia", "value": "ShipViaId" },
(http://giraglia.ovh/other/PQ-PICKLIST-BUG.GIF)
This is easily reproductible on the original page: https://paramquery.com/pro/demos/editing_custom (https://paramquery.com/pro/demos/editing_custom)
Please make mapped field visible:
{ dataIndx: 'ShipViaId', hidden: false} , //hidden column to store ShipVia Id.
Thank you in advance
-
This is not a bug. mapIndices is a property of editor and hence work only with inline editing.
formulas can be used instead of mapIndices to map the key value pairs always.
Example: https://paramquery.com/pro/demos/datamap
-
Neither it's a feature ;) Using formulas looks like workaround while having such a good idea to use mapIndices.
Thanks a lot for reply! Please add information about this limitation to documentation, because that was not obvious and could lead to invisible errors (like in example with a hidden field).