I have a grid that has a layout set at design time (in terms of bands and columns). At runtime I bind an array of objects to it, which works fine.
In order to clear the grid I set the datasource to null, but this wipes out the design time layout, which i don't want. Is there any way around this ?
Thanks
I am guessing here... but couldn't you just create a identical blank array and just set it to that when you need to whipe the data?
Thats exactly what I ended up doing, works fine but I don't understand how the grid gets initialised with no data, but preserves the layout defined as design time, but if you try and unbind by getting rid of the datasource it wipes the layout -