Author Topic: Change Event in PQ Grid  (Read 3007 times)

cijojohn

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 73
    • View Profile
Change Event in PQ Grid
« on: November 18, 2017, 08:53:34 pm »
Hi team,

Please read the comments in attached snapshot.

We have used the change event in following way :

                "change" : function(event, ui) {
         return myChange(event, ui);
      }

if we retype the same value in cell , the change event is not getting fired?.

Please suggest which are other options.

FYI, we have done some workaround  on "editorBlur" event, is that a correct way to achieve same behaviour.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6311
    • View Profile
Re: Change Event in PQ Grid
« Reply #1 on: November 20, 2017, 10:36:57 am »
Sorry, didn't get your point.

If the cell is not changed ( you are typing the same value ), then why do you need a change event.

You say that the columns are interdependent which means the 2nd column should have certain value dependent upon value in first column. If the value in first column is not changed, then value in 2nd column should also not change.

If you are just looking for editor events, you can use any of the editor events

editorBegin, editorEnd, editorBlur, etc.
« Last Edit: November 20, 2017, 08:15:03 pm by paramquery »