Hello,
im currently working on the igx-grid combined with the cell editing functionality. If i double click on a specific column it turns into edit mode.
What i want is, that every column is in edit mode initially, so the user doesn't have to click on any column to edit.
is this somehow possible?
Im using package version 11.1.7
Best regards
Hello Michael,
Thank you for posting in our community!
I have been looking at your question and after an investigation what I could say is that by default cell editing is performed one cell at a time and when setting editMode on a cell, it receives focus, and it is made clear on which specific cell edit operation is going to be performed.
Having this in mind, setting multiple cells into editMode is not possible, because it would not be clear which cell should be edited.
However, if your question addresses the double click behavior, an approach I could suggest, in order to change that, is to use IgxGrid’s cellClick event, which gives reference to the cell, and set the cell’s editMode to true. Similarly, this could also be achieved using the IgxGrid’s activeNodeChange event by getting reference of the cell and setting its editMode to true.
Also, another possible approach is to configure the columns by using cell template with an input. More information about cell templating along with provided samples, which you might consider helpful, could be found in our IgxGrid Cell Template topic here.
Additionally, in order to demonstrate my suggestions, I have prepared a small sample trying to reproduce the described behavior. In the attached sample I am using the cellClick event of the grid and when clicking once on a cell it enters editMode.
Here could be found my sample for your reference. Please test it on your side and let me know if you need any further assistance.
If this is not an accurate demonstration of what you are trying to achieve, please feel free to modify it and send it back to me along with steps to reproduce.
Looking forward to hearing from you.
Sincerely,Riva IvanovaEntry Level Software Developer