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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Want to force a row to display blank

Thread ID:





34843 Sep 16,2005 08:19 PM UTC Sep 18,2005 10:52 AM UTC WinForms 1
Tags: GridControl
Ken Overton
Asked On September 16, 2005 08:19 PM UTC

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 10:52 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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