Hi,
I have an igGrid (2013.2 version) with virtualization set to true and mode as continuous. The grid has Updating feature with cell mode editing enabled.
The cell in the edit mode needs to display igCombo but the list item values in the combo should be different for each row. Please let me know the best way to achieve this.
Thanks,
Anitha
Hi Anitha,
yes this is possible, but the datasource should be array and different for each combo.
I attach a sample with a similar scenario: operator and field column have different datasource and value column is generated, based on the field selection.
Please test this sample and let me know if this is the behavior you expected.
Thanks Yana,
That helped me bind the data. I am trying to find the selected value in the combo in each datarow on button click. Can you please suggest a solution for the same.
Regards,
Hello Anitha,
To get the currently selected cell you can use the following API method: https://www.igniteui.com/help/api/2014.2/ui.iggridselection#methods:selectedCell It will return the currently selected cell object where you can access the row index from. And when you have the row index, you can get the desired cell value using 'getCellValue' method: https://www.igniteui.com/help/api/2014.2/ui.iggrid#methods:getCellValue
Please try and let me know if you need further assistance.
Tsanna