We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon