I have a grid with the ColumnChooserButton enabled as well as RowSelectorNumberStyle set to RowIndex. In design mode I can see the row numbers, however, at runtime the row numbers are not displaying. I am binding to a BindingSource bound to a list of business objects. I am using NetAdvantage for .NET 2008 Vol. 2 CLR 2.0. What am I missing?
Thanks,
Paul
Thanks for your reply Mike. You're right, this problem is related to loading a layout at runtime that was created prior to my setting the RowSelectorNumberStyle property.
Hi Paul,
My guess is that something you are doing at run-time, is changing the RowSelectorNumberStyle property. Perhaps you are loading a layout into your grid at run-time? Or perhaps setting the grid's DataSource is destroying the layout.
Try setting this property inside the InitializeLayout event of the grid at run-time and see if that works.