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.
Unfortunately, activation email could not send to your email. Please try again.

Alignment of a virtural grid

Thread ID:





4925 Jun 9,2003 09:56 AM Jun 10,2003 10:02 AM Windows Forms 2
Tags: GridControl
Martin Squicciarini
Asked On June 9, 2003 09:56 AM

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

Administrator [Syncfusion]
Replied On June 9, 2003 11: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.)

Martin Squicciarini
Replied On June 10, 2003 10:02 AM

Clay, Thanks that was right on the money. Marty


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.