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.

GridGroupingControl get hidden column value

Thread ID:





58064 Mar 16,2007 11:42 AM Mar 16,2007 03:21 PM Windows Forms 2
Tags: GridControl
Brian Schlatter
Asked On March 16, 2007 11:42 AM


I'm using a GridGroupingControl where a DataTable is my DataSource. When a user clicks in a cell, is it possible to obtain the value of a different cell within the same row but a hidden column?

ie. I'm hiding columns in this fashion...

Using Version:


Administrator [Syncfusion]
Replied On March 16, 2007 01:14 PM

Hi Brian,

To get the value of the hidden column, you need to call the Record.GetValue method in TablecontrolCellClick event.

GridRecordRow recRow = e.TableControl.Table.DisplayElements[e.Inner.RowIndex] as GridRecordRow;
if(recRow != null)
Console.WriteLine(recRow.ParentRecord.GetValue("Col0") );

Best regards,

Brian Schlatter
Replied On March 16, 2007 03:21 PM

Works great thanks!


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.