Author Topic: change cell value after editor -> select has changed  (Read 3930 times)

daverene

  • Newbie
  • *
  • Posts: 23
    • View Profile
change cell value after editor -> select has changed
« 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: []
                     }


daverene

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: change cell value after editor -> select has changed
« Reply #1 on: April 20, 2017, 10:18:07 am »
do you need more information???

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: change cell value after editor -> select has changed
« Reply #2 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