Hi,
I want to call the PropertyChanged when the user typing in the Cell.
Right now it is called only when i tab out of the Cell.
Please advice me on this.
thanks
Ramesh Babu.
Yeah, i thought of this solution too. But in my opinion this also is not even more than a hack. I'd prefer a solution wich solves the problem in the grid.
Forcing EndEdit on saving would be the last choice.
Is there any statement of infragistics-team? The original post was in 2009, maybe there is a fix or solution of this problem in the current version, so i can configure the grid in the requested way.
I had this same problem. The easiest thing to do would be to add some code to the save function. You can get the activecell from the datagrid by calling xdgGrid.ActiveCell, and call endeditmode on the cell, which will persist changes even if the user has not tabbed out or hit enter.
i got the same problem. I want the value of the property to be updated on typing, so that the value would be saved on clicking the save button in the toolbar.
Sure, handling events like KeyUp and then end EditMode could help, but in this case i have to manage things like the cursorposition etc. what is not more like a hack.
Is there no better way to force the update of the datasource on every ValueChanged, than updating on EndEditMode?
Best regards, Alex
By Default, the XamDataGrid updates when the Cell ends EditMode, unless you changed the UpdateMode property of the grid. These are the cases when tabbing out, changing focus, pressing Enter. You can still handle events like LostFocus or KeyDown,KeyUp,KeyPress and use DataPresenterCommands to end EditMode explicitly.
Alex.
The user types in the Cell and they will click save from the menu.Since they didn't tab out the changes are not updated.