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?
ADAdministrator Syncfusion Team August 25, 2004 07:15 AM
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.