how to know first row and first column value in grid

Hi, I'd like to know how to know first row and first column value in MVC Grid.

I saw some sample but it seems like a selected row event or so.

Thank you in advance!

Kind Regards

1 Reply

SK Sundararaman Krishnamoorthy Syncfusion Team April 4, 2018 01:36 PM UTC

Hi Dongil Shin, 

Thanks for contacting Syncfusion support, 

We have analyzed your query, and your requirement can be achieved by the property currentViewData  property.  Please refer to the below code example. 


let grid = document.getElementById('Grid').ej2_instances[0]; //get instance 
 
grid. currentViewData[0]['FieldName']; //access record 



Regards, 
Sundararaman. K 


Loader.
Up arrow icon