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

Thread ID:

Created:

Updated:

Platform:

Replies:

98898 Apr 6,2011 07:23 PM UTC Apr 11,2011 06:22 AM UTC WinForms 1
loading
Tags: GridControl
Tomio
Asked On April 6, 2011 07:23 PM UTC

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?

Thank


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

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
MessageBox.Show(rec.Info)
Exit For
End If
Next rec

Regards,
Jisha


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

;