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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row Index

Thread ID:





117174 Aug 28,2014 04:49 AM UTC Aug 29,2014 06:06 AM UTC ASP.NET Web Forms 1
Tags: Grid
Asked On August 28, 2014 04:49 AM UTC

How to find Row index on Grid .let me As soon As possible

Alan Sangeeth S [Syncfusion]
Replied On August 29, 2014 06:06 AM UTC

Hi Venkatesh,

Thanks for using Syncfusion Products.

We would like to let you know that we can find row index using “getIndexByRow” method of Grid. Please refer the following code snippets.

var obj = $("#EmployeesGrid").ejGrid("instance")

var tr = obj.getContent().find("tr").first();

var index = obj.getIndexByRow(tr); // Need to pass tr element in Grid Content


For your convenience we have created a sample and the same can be downloaded from below link.

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ASPSample929927059.zip

In the above sample, on a button click event, we have displayed the row index of first row in Grid Content.

Please let us know if you need any further assistance.

Alan Sangeeth S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon