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.
Syncfusion Feedback

How to find Row index of grid grouping control in asp.net

Thread ID:

Created:

Updated:

Platform:

Replies:

117136 Aug 20,2014 05:51 AM Aug 21,2014 02:21 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
Narry
Asked On August 20, 2014 05:51 AM

Please help me

Shanmugaraja K [Syncfusion]
Replied On August 21, 2014 02:21 AM

Hi Narry,

 

Thanks for using Syncfusion products.

 

We would like to let you know that your requirement has been achieved by using ClientSideOnRecordClick event. Please refer the below code snippet to achieve your requirement.

 

[ASPX]

 

<Syncfusion:GridGroupingControl ID="GridgroupingControl1" runat="server" Autoformat="Office 2007 Blue"

                   ClientSideOnRecordClick = "select(this)" ShowGroupDropArea="true" DataSourceCachingMode="ViewState" Width="800px" >

                             <TableDescriptor Name="Employees" AllowFilter="false" AllowNew="false" AllowEdit="false">    

….

 

[JS]

 

function select(gridobj)

        {

            var rowIndex = gridobj.Row.tableRow.rowIndex;

            alert("selected row index is: "+rowIndex)

        }

 

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

 

Please let us know if you need further assistance.

 

Regards,

Shanmugaraja K


Attachment: WebApplication1_9006e8d3.zip

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.

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

;