I want to format a numeric column in a virtual grid.
Grid is declared as
m_Grid As Syncfusion.Windows.Forms.Grid.GridControl
and the following line gives me an error when index is greater than 11 and there are 123 columns.
m_Grid.ColStyles.Item(indx).HorizontalAlignment = GridHorizontalAlignment.Right
ADAdministrator Syncfusion Team June 9, 2003 10:59 AM
After you change the row count in your data source, try calling m_grid.ResetVolatileData to see if that does not take care of this problem.
(The default was set to 10, and your new row count is not being recognized probably because the 10 is cached. Calling ResetVolatileData flushes these cached values and forces the grid to reload them.)