I have the following line of code in my grid initializelayout section.
e.Layout.Bands(2).Columns("AcctType").Hidden = True
This gives me the error
Key not found Parameter name: key
This is on a third band and I have verified that the column name is correct.I can make this work on both band 1 and band 2.
Anyone have any ideas?
Hi Kevin,
The obvious reason for this is that your data source only has 2 bands. Do you actually see a third band in the grid?
What kind of data source are you using for your grid?
Yes, I can see the third bands.
I'm using lists of objects as my datasource.
My band(0) is a list of customers who in turn have a list of categories for band(1)which in turn has a list of accounts for band(2)
Band(0) and band(1) work fine and I can modify those just fine.