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?
It's a 10.1 grid.
Hm, that's a puzzler.
What version of the grid are you using? This could have been a bug in some previous version. Try getting the latest service release and see if that helps:
How to get the latest service release - Infragistics Community
If that does not help, perhaps you could post a small sample project demonstrating the issue and I will be happy to take a look at it.
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.
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?
It's like it doesn't even recognize that band.I can't get it to do anything for band(2) that I can do for band(0) or band(1)