I have UltraWinGrid divided into 2 cards.
First card contains 10 columns and is displaying correctly with the scroll bars. In second card I have 18 columns and is merged with first card in such a way that card 1 rows are displayed with card 0 rows (not using collapse and expand, this was the requirement). Below is the code for Band(1)
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
.Indentation = 0
.CardView = True
.CardSettings.MaxCardAreaCols = 50
.CardSettings.ShowCaption = False
.CardSettings.Style = CardStyle.StandardLabels
.CardSettings.CardScrollbars = CardScrollbars.None
.ColHeadersVisible = False
''Column style
.Override.HeaderAppearance.BackColor = Color.YellowGreen
.Override.CellAppearance.BackColor = Color.YellowGreen
The problem is that while scrolling the grid all columns of card 0 are available but only a few columns from card 1 are visible (first 8). I can scroll to only first 8 columns using scroll bar. Whereas while using keyboard arrow keys I can scroll to all 18 columns. I am using VS2008 with VB.Net windows application.
Any help would be greatly appreciated.
Thanks in advance,
Ashish Sharma
Hi Ashish,
I'm not sure I understand you. What kind of data source are you using for your grid?
The grid cannot support non-homogenous data sources. Every row in the list has to have the same data structure. So you cannot have a different number of columns in different rows in the same band.