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.
Syncfusion Feedback

apply format to cells after editing in Syncfusion grid control

Thread ID:

Created:

Updated:

Platform:

Replies:

84718 Jul 2,2009 07:01 AM UTC Jul 6,2009 12:20 PM UTC Windows Forms 1
loading
Tags: GridControl
Bob
Asked On July 2, 2009 07:01 AM UTC

apply format to cells after editing in Syncfusion grid control

Jisha Joy [Syncfusion]
Replied On July 6, 2009 12:20 PM UTC

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.

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

;