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
285
Editing text of one web data grid from another grid
posted

Can any one please suggest code to edit cell value of one datagrid form another grid (on row Update event)

I am new to Infragistics control

Parents
  • 37874
    posted

    Hi Hemant,

    Thank you for posting in our forum.

     If you want to change the value on the server, you should change the value in the DataSource and rebind the second grid in the first grid's RowUpdating event. Alternatively, you could handle ExitedEditMode client-side event to set new value for a cell in the second grid like this:

    function ExitedEditModeHandler(sender, eventArgs)

    {    

        var grid = $find("WebDataGrid2");    

        grid.get_rows().get_row(1).get_cell(1).set_value("value");

    }

    After postback the grid value will be updated in the DataSource.

    Let me know if you have any questions.

     

Reply Children