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.

apply format to cells after editing in Syncfusion grid control

Thread ID:

Created:

Updated:

Platform:

Replies:

84718 Jul 2,2009 03:01 AM Jul 6,2009 08:20 AM Windows Forms 1
loading
Tags: GridControl
Bob
Asked On July 2, 2009 03:01 AM

apply format to cells after editing in Syncfusion grid control

Jisha Joy [Syncfusion]
Replied On July 6, 2009 08:20 AM

Hi,

If you want to apply styles to the cell while editing this can be achieved by handling QueryCellInfo event. You could check whether CurrentCell is editing and set the styles as desired.

void gridControl1_QueryCellInfo(object sender, Syncfusion.Windows.Forms.Grid.GridQueryCellInfoEventArgs e)
{
if (this.gridControl1.CurrentCell.IsEditing)
e.Style.TextColor = Color.Green;
}

Please let me know if this does not serve your needs.

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.

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.

;