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

ggc row selection

Thread ID:

Created:

Updated:

Platform:

Replies:

69416 Oct 26,2007 01:37 PM UTC Oct 29,2007 11:09 PM UTC WinForms 3
loading
Tags: GridControl
abc
Asked On October 26, 2007 01:37 PM UTC

I am using the following code to select a row in ggc..the [Firstname] is the string column
name...

GridConditionalFormatDescriptor blinkDescriptor = new GridConditionalFormatDescriptor("BLINK");

string AID = "";

AID += "[Firstname]= '" + "Luthher"+ "'";

blinkDescriptor.Appearance.AnyCell.BackColor = Color.LightCoral;
blinkDescriptor.Expression = AID;
ggcMapDetails.TableDescriptor.ConditionalFormats.Add(blinkDescriptor);

what i want is that if the name that i pass from outside gets matched with [Firstname](this is the grid col name) then that grid row should get selelcted or start blinking..

I will be v thankfull if any could help me in this.

haneefm [Syncfusion]
Replied On October 26, 2007 06:53 PM UTC

Hi Prabhjeet,

Below is a forum thread that discuss with similar issue. Please refer this and let me know if this helps.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=69415

Best regards,
Haneef

abc
Replied On October 26, 2007 09:51 PM UTC

hi hanef,

thx for the quick reply..
the expression
if (AID.Length > 1) AID += " Or ";
AID += "[Firstname] Like '" + (string)key + "'";
works well to blink single row....what if i have to select/blink more than one rows..

i will be v thankfull if u could help me in this

>Hi Prabhjeet,

Below is a forum thread that discuss with similar issue. Please refer this and let me know if this helps.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=69415

Best regards,
Haneef

haneefm [Syncfusion]
Replied On October 29, 2007 11:09 PM UTC

Hi Prabhjeet,

Please follow the below forum thread:
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=68956

Best regards,
Haneef

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

;