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.

How to get index of second child of particular parent in gridgrouping control?

Thread ID:

Created:

Updated:

Platform:

Replies:

117626 Nov 19,2014 02:19 AM Nov 19,2014 11:14 PM Windows Forms 1
loading
Tags: GridGroupingControl
Paurnima
Asked On November 19, 2014 02:19 AM

Hi,
I am using gridgroupingcontrol ,
I want index of second child of particular parent .
When I select the second child row it gives index of first child row.
Is any solution regarding this?
Regards
Paurnima.

Neelakandan Kannan [Syncfusion]
Replied On November 19, 2014 11:14 PM

Hi Paurnima,

 

Thank you for your interest in Syncfusion products.

 

If you want to get the Rowindex of the particular child table in grid, you can use GridTableModel class. The child table model can be retrieved by using GetTableModel property of grid.

 

Please refer the below code:

 

void gridGroupingControl1_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e)

{

GridTableModel gridModel = this.gridGroupingControl1.GetTableModel("Child_Table_Name"); //Specify your Child table name

int rowIndex = gridModel.CurrentCellInfo.RowIndex;

}

 

Please let me know if you have any concerns.

 

Regards,

Neelakandan


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.

;