Hello again,
i tried to work with cell content in editMode but without success.
We have this new requirement:
When you are in edit mode and enconter a kind of coulmn (in this case Cod.C / we use an array to mark special column) you should:
- Get the content of the column/ cell that it is going to be edited. (i.e. Cod.Col column and cell value 5)
- Apply a function to resolve a value from that content. (i.e.let result = ()=>resolve(5))
- The result of that function, i should using setCellValue and change the column +1 putting as value the result of the function. (ie. setCell(Cod.Col+1, result)
- The grid has a primary key to make setCellValue work.
In the picture above i would like to apply a function to the value resolve(5) and from that value i would like to the cell Nomb..still remaining in edit mode.
My problem is how to detect which cell is editing the user, retrieve the columName to look in the array and how to set the columnName+1.
Best Regards,
Giorgio