Hi,
Is it possible to change on the fly or through code the Band?
For example: I define in a UltraWebGrid with ViewType="Flat" 2 Bands with the BaseTableName property set.
So if my DataSet equals Table1, show me band0 and if my DataSet equals Table2 show me band1.
Is this possible?
Thanks
SuperB. Thanks.
Hello,
It is possible to change the band properties of the grid, depends on your needs. The recommended way to configure the grid layout is to use Intitalizelayout handler like so:
90
91 protected void Grid_InitializeLayout(object sender,
92 Infragistics.WebUI.UltraWebGrid.LayoutEventArgs e)
93 {
94 e.Layout.Bands[0].Key = " your key";
95
96 }
I would suggest you too to look at the documentation for the grid:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2009.2/CLR3.5/html/Web_WebGrid.html
Regards,