View Full Version : event order

1 Apr 2011, 5:21 AM

I have a problem when using a form and a grid. Im my form there is a text field with attached 'change' listener. If the data in the text field is changed i wan't to prevent the grid to select a new row.

But if I change the row selection, the 'rowselect' event is fired before the 'change' event of the the field.

I can not use a store which is attached to both (grid and form).

Does anyone have an idea?

Thanks a lot.

3 Apr 2011, 3:04 AM
Try using beforerowselect instead?

3 Apr 2011, 10:55 PM
Thanks - this should be it. We did it using the buffer option when registering the listener. Now the change event comes before rowselect. Also you can navigate in grid without changing the form all the time...