evankstone
6 Jul 2007, 11:00 AM
jack suggested (wisely) that i move this here to see if the community at large has any ideas on how to handle the situation...
OK, so the way i have things set up (mostly because of my possible misunderstanding of how the cell selection model works in the editor grid) is that my changes to data in the grid is triggered by the afterCellEdit event. However, this results in a very "chatty" model in which i'm constantly sending updates to the server when the user switches cells (ick)...
I'd like to be able to instead just commit changes when the user changes rows, or when the entire grid loses focus (which currently seems to trigger the afterCellEdit event).
Unfortunately I'm at a loss as to how to implement this change, so...
Has anyone here done this already? If so, how did you solve this problem?
Would replacing the CellSelectionModel with RowSelectionModel make a diffrerence, or would it just lead to more complications?
Is there an alternate solution that I'm just missing here?
thanks!
OK, so the way i have things set up (mostly because of my possible misunderstanding of how the cell selection model works in the editor grid) is that my changes to data in the grid is triggered by the afterCellEdit event. However, this results in a very "chatty" model in which i'm constantly sending updates to the server when the user switches cells (ick)...
I'd like to be able to instead just commit changes when the user changes rows, or when the entire grid loses focus (which currently seems to trigger the afterCellEdit event).
Unfortunately I'm at a loss as to how to implement this change, so...
Has anyone here done this already? If so, how did you solve this problem?
Would replacing the CellSelectionModel with RowSelectionModel make a diffrerence, or would it just lead to more complications?
Is there an alternate solution that I'm just missing here?
thanks!