We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Alignment of a virtural grid

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

2 Replies

AD Administrator Syncfusion Team June 9, 2003 03:59 PM UTC

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.)


MS Martin Squicciarini June 10, 2003 02:02 PM UTC

Clay, Thanks that was right on the money. Marty

Loader.
Up arrow icon