The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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