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.
Unfortunately, activation email could not send to your email. Please try again.

Row Index

Thread ID:

Created:

Updated:

Platform:

Replies:

117174 Aug 28,2014 12:49 AM Aug 29,2014 02:06 AM ASP.NET Web Forms 1
loading
Tags: Grid
venkatesh
Asked On August 28, 2014 12:49 AM

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

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

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.

Regards,
Alan Sangeeth S


CONFIRMATION

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.

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.

;