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

GridGroupingControl get hidden column value

Thread ID:





58064 Mar 16,2007 03:42 PM UTC Mar 16,2007 07:21 PM UTC WinForms 2
Tags: GridControl
Brian Schlatter
Asked On March 16, 2007 03:42 PM UTC


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 05:14 PM UTC

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 07:21 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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