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.
Hello!
I have datatable in which "Type" column can have 3 different values. New records are adding to the table every second and are displayed on grid''s first row (descend sorting).
Based on "Type" values I display records in GridDataBoundGrid with different colors and fonts. But not all records fit into row height. I have tryed to change row height throught gdbg.Model.RowHeight[index], but it is slow.
Is any ways to change row height more quickly?
Best regards.
ADAdministrator Syncfusion Team August 25, 2004 12:15 PM UTC
You can try subscribing to the grid.Model.QueryRowHeight event and dynamically set the row height on demand.
In the event, you would check e.Index and decide what row height is needed, and then set e.Size to that value and set e.Handled = true. You would NOT set values into grid.Model.RowHeights as this would still slow things down.