Browse by Tags
» CellEditors (RSS)
Hi everybody and thank you for your support,
I have a datagridcontrol and i wish to edit cells and update the database. I actually can edit cells directly from the datagrid, but i need to operate on the EndEdit event to update the database. But i can't find this event !!
Please help, and thanks a lot.
I am using Model View ViewModel pattern. I have a button inside a DataCell of Xceed DataGrid. I want to use DelegateCommand to handle the click event of the button.
Also, I dont want to write anything for the same in my Code Behind. I want everything to reside in my ViewModel.
How can this be achieved. I thought of RoutedEvents / ...
As far as making a cell enabled or disabled (ReadOnly) at runtime, the following example will definitely suit your requirements. But to change a cell's EditTemplate at runtime does not seems to be an easy task as EditTemplate property belongs to the entire column and not just a single cell.
Anywayz have a look at the following example ...
I have users grid with Password column.
I want to give the administrator user to edit the users passwords.
The template use converter to show only ●●●●●●●●●●●●●.
To edit the cell I want to use the PasswordBox with CellEditor.
The PasswordBox will be empty at start.
I want to know how to set the grid cell with the ...