luc98
29 May 2007, 4:09 AM
Hello
I have the following sitution:
I use an editor grid to make data editable. I save the data after the event afteredit is sendet. Each row of the grid represent an item with divers coloums. An item can be in several "states". The stateinformation is added and shown in a separate tab. To browse through the items and states, I added a rowselection-event to the editorgrid, e.g. "beforerowselect" to load the states data when I browse through the grid. This is a very cool feature but it has one problem. If I want to edit a cell now, I need to double click it. It fires again 2 "beforerowselect" events. I also tryied with "rowselect" event, but it has the same behaviour.
Is there another event (maybe not documented) which only fires an event when it is really a new selection of a row?
I'm happy with any idea.
All the best
Luc
I have the following sitution:
I use an editor grid to make data editable. I save the data after the event afteredit is sendet. Each row of the grid represent an item with divers coloums. An item can be in several "states". The stateinformation is added and shown in a separate tab. To browse through the items and states, I added a rowselection-event to the editorgrid, e.g. "beforerowselect" to load the states data when I browse through the grid. This is a very cool feature but it has one problem. If I want to edit a cell now, I need to double click it. It fires again 2 "beforerowselect" events. I also tryied with "rowselect" event, but it has the same behaviour.
Is there another event (maybe not documented) which only fires an event when it is really a new selection of a row?
I'm happy with any idea.
All the best
Luc