Is there a way to add a band to a grid at runtime? I am providing my datasource at runtime and only want the additional band in particular scenarios.
Thank you.
Thanks to both of you for your replies.
Mike's explanation was it - it's the datasoure that "creates it". I added another DataTable and a relation to my DataSet and it displayed.
Hi,
The grid bands comes from the data source. You cannot add an unbound band to the grid, but if you add a band to your data source, then it will display in the grid - assuming your data source supports it, which most do.
Not quite what you asked for, but maybe hiding it is the most simple way?
band.Hidden = True
Trausti