ggc row selection

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.

3 Replies

HA haneefm Syncfusion Team 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


AB abc 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


HA haneefm Syncfusion Team 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

Loader.
Up arrow icon