I am using igGrid where my columns are creating dynamically on product selection(column data from database). Even the cell will have dropdown or text box that info is also dynamic as per user selection.
I want to have a grid which is editable (on edit mode must have textbox or combo box as per the data) and user doesnot have to click on Done button on each edit.
I tried achieving this by hiding Done container but when I programmatically add a new row then I need the new row to be editable without done but...and getting error : already a row is in edit mode
Hello,
Thank you for using Infragistics forums!
Have you tried using the showDoneCancelButtons option set to false instead of hiding the button container to achieve your requirements? It changes how certain workflows behave and should provide a better end-user experience for this scenario.
As for the error - without a code snippet of how you are implementing this I can only speculate but it's likely caused by calling startEdit while editing is still in progress. If you are trying to execute startEdit in an editRowEnding handler for example, you should try doing so in an editRowEnded one to ensure the previous edit mode has ended.
I hope this helps! Please, let me know if you have any other questions or concerns!
Best regards,
Stamen Stoychev
HI,
The issue is
if my row is in edit mode and if showDoneCancelButtons = false then
if we add a row using 'addRow' then the edited values are not getting retained in the row which in edit mode before the row was added.
I need the updated values to be retained once I add a new row or perform any other operation in Grid