Column has a drop down with auto-complete. How can I force a CellUpdate when the user selects an item from the list and not have to wait for him to hit enter or click a different cell.
Thanks for your reply.
its working fine now.
In cell update of grid event i write a code to update aciverow ,
So as soon as anychange in cell ,it updates that row, hence update summary.
Hi,
I believe your question is already answered in this thread. What part of this are you still having trouble with?
i like to update summaries in ultragrid as soon as user change value in grid cell how it will work?
It works fine when we tab out from cell.
Salty, once again, you are the man. AfterCellListCloseUp was definitley the way to go.
Thanks!
grid.AfterCellListCloseUp += delegate { grid.UpdateData(); };
You could use AfterCellListCloseUp. The down side is that the event fires whenever the list closes for whatever reason. So if the user closes the list without choosing a new items, it will still fire the event. This is probably not a big deal, but just so you know.
Another option is the CellChange event. The advantage of this event is that it only fires when something changes. The down side of using this event is that it will fire on every keystroke if the user is typing into the cell.