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
600
Apply default values on row focus (editing)
posted

Hi,

I have a grid with 4 columns.  When a row is being edited two of the columns are editable.  When the row is clicked on for editing I would like these two cells to be immediately updated with default values (located at the top of the page).  I've attached a sample.

Currently I have an "Apply Defaults" button to the edit options that appears when a row is edited but I would like to instead just have the defaults applied when the row is selected.

Many Thanks.

DefaultValues.zip
Parents
  • 15320
    Verified Answer
    Offline posted

    Hello Rick,

    I modified your sample as I've added editRowStarting event where I'm setting the new values to the editable columns and on editRowEnded event the grid should rebind to apply the changes. Please find the attached sample for your reference.

    If you have further questions, feel free to contact me.

    Regards,

    Tsanna

    DefaultValues.zip
Reply Children