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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

117626 Nov 19,2014 07:19 AM UTC Nov 20,2014 04:14 AM UTC WinForms 1
loading
Tags: GridGroupingControl
Paurnima
Asked On November 19, 2014 07:19 AM UTC

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 20, 2014 04:14 AM UTC

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.

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

;