How to access specific cell in React Grid?

Hello,

How can I access specific cell in React Grid from external function to manipulate cell data and also its css, row span & call span ?


1 Reply

PS Pavithra Subramaniyam Syncfusion Team May 5, 2023 07:00 AM UTC

Hi Mangesh Pandit,


Thanks for contacting Syncfusion support.


You can get the cell element with the required row and cell index using the “getCellFromIndex” method. Also, you can update the cell value using the “setCellValue” method. Please refer to the below API link for more information.


https://ej2.syncfusion.com/react/documentation/api/grid/#getcellfromindex

https://ej2.syncfusion.com/react/documentation/api/grid/#setcellvalue


Please get back to us if you need further assistance on this.


Regards,

Pavithra S


Loader.
Up arrow icon