Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
896
Update Row values on Button Click
posted

Hi

I have a scenario where i have to update(or reject) the changes to the cell values of an editable row on click of a Save/cancel button which is not in the grid.

Only one row is editable at a time and the user has to either update/cancel through the save/cancel button before moving onto the next row.

The default behavior as i understand  updates a cell value once an editable cell loses focus (OnEditModeEding event) and i even tried using the EditModeEnding event but managed to control the updation only at a cell level.

even tried using

XamDataGrid.ExecuteCommand(DataPresenterCommands.CommitChangesToActiveRecord)

XamDataGrid.ExecuteCommand(DataPresenterCommands.DiscardChangesToActiveRecord)

with UpdateMode = OnUpdate

but I'm still stuck

Am i missing something ?

Any help would be really appreciated

Thanks in advnce

Abhilash

 

 

 

Parents
No Data
Reply
  • 896
    posted

    Hi Guys,

    Is this not possible in XamDataGrid ?

    Waiting for an answer....

    Regards

    Abhilash

     

Children