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
Hello Singh,
There could be some other thing in the code that is causing the issue and which I am missing, but it is not possible to know without the whole grid configuration and the event handlers that you are using.
Is there a way for you to provide me with an isolated code sample? Or modify the sample I sent you with your settings and event handlers and send it back to me?
Best Regards,
Vasil Pavlov
Associate Software Developer
Infragistics, Inc.
Hi Vasil,
I have checked what you suggested but currentTradeIdFileTypeId always has the correct value. It is set somewhere above in the code. Can you please suggest something else?
This error message gets thrown when the igGrid control couldn’t find the row or column you are trying to edit – usually when it doesn’t exist in the browser’s DOM because of the virtualization or paging.
How do you initialize the “currentTradeIdFileTypeId” variable that you are using in the “startEdit” method? If you haven’t set it properly, it might be the cause of the issue.
If you need any additional assistance, feel free to contact me.
Can anyone please reply to this?