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 search a value in a hidden column gridgroupcontrol?

Thread ID:





98898 Apr 6,2011 03:23 PM Apr 11,2011 02:22 AM Windows Forms 1
Tags: GridControl
Asked On April 6, 2011 03:23 PM

Hi, I have a gridgroupingcontrol with four columns: "User," "plan," "Code", "PID".

Only the columns "Code", "PID" I do not want to show the User,
so I removed these two fields on the property VisibleColumns gridgroupincontrol.

Just what I need to get the cell value that is in the column "Code",
starting at a selection of any line.

How do I get this value in VB?


Jisha Joy [Syncfusion]
Replied On April 11, 2011 02:22 AM

Hi Tomio,

To get the record with the unique column value, you can handle the following code.

For Each rec As Record In Me.gridGroupingControl1.Table.Records
If rec.GetValue("Department").Equals("MECHANICAL") Then
Exit For
End If
Next rec



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.