Want to force a row to display blank

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.

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Up arrow icon