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
555
Making a row editable dynamically
posted

Hi,

I have 3 bands in igHierarchicalGrid. I have few columns which are editable in the second band.

I am using the default row level editing with Done and Cancel buttons. After SaveChanges is called on the Done button click I want to refresh the grid, expand it and make one of the cells in a row to be editable dynamically.

I am calling

grid.igHierarchicalGrid("dataBind"); which refreshes the grid but I am not able to edit the row without again clicking on it.

I want to make a row editable dynamically which has a particular ID as primary key just after the grid is refreshed and expanded.

I am able to refresh and expand the grid.

I have tried using StartEdit but it needs endEdit which I don't want to call:

gridUpdating.startEdit(row.Id, "Comment");

Can you please suggest something?

Regards

Singh

Parents
No Data
Reply
  • 555
    Offline posted

    In addition to the above issue:

    My grids are load on demand. As per the requirements, when I refresh the grid I need to append a custom text to one of the cells in the column.

    It refreshes the grid with the custom value, now if the user clicks the row manually to make it editable ( because I am not able to make it editable dynamically), the Done button remains disabled unless a value is changed in the that row. I want Done button to be enabled so that it can go into save changes.

    Regards

    Singh

Children