ParamQuery grid support forum

General Category => ParamQuery Pro Evaluation Support => Topic started by: daverene on April 11, 2017, 08:51:16 am

Title: change cell value after editor -> select has changed
Post by: daverene on April 11, 2017, 08:51:16 am
How do I make a different cell in the same row automatically change to blank when I select a new value from the editor.

editor: {
                         type: 'select',
                         valueIndx: "WorkOrderNo",
                         labelIndx: "WorkOrderNo",
                         options: []
                     }

Title: Re: change cell value after editor -> select has changed
Post by: daverene on April 20, 2017, 10:18:07 am
do you need more information???
Title: Re: change cell value after editor -> select has changed
Post by: paramvir on April 20, 2017, 10:44:40 am
It can be done by detecting a change in cellSave or change event and call updateRow to reset the other cell.

There is an example here for cellSave event:

https://paramquery.com/pro/demos/cascade_select