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.

Want to force a row to display blank

Thread ID:

Created:

Updated:

Platform:

Replies:

34843 Sep 16,2005 04:19 PM Sep 18,2005 06:52 AM Windows Forms 1
loading
Tags: GridControl
Ken Overton
Asked On September 16, 2005 04:19 PM

This works ok for cells whose underlying property is null, but value-types keep displaying. I''ve tried to set e.Style.text and e.Style.FormattedText to empty strings in my handlers for QueryCellInfo and QueryCellFormattedText but it doesn''t work so far.

Administrator [Syncfusion]
Replied On September 18, 2005 06:52 AM

Hi Kov, Instead of setting the e.Style.Text / e.Style.CellValue in your QueryCellFormattedText event handler, please try setting the "e.Text" followed by e.Handled to true. private void Model_QueryCellFormattedText(object sender, Syncfusion.Windows.Forms.Grid.GridCellTextEventArgs e) { e.Text = " "; e.Handled = true; } Best regards, Jay N

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.

;