Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
720
How to create band progammatically?
posted

Hi,

 

i bind the ultragrid with a BindingList(of CustomObject) but i would like to add band programmatically to extend the grid with new features...

 

How can i do that?

 

Thank you.

  • 469350
    Verified Answer
    Offline posted

    Hi,

    You cannot add an unbound band to the grid - bands have to come from the DataSource. To create a child band, what you have to do is expose a public property on the CustomObject class which returns another BindingList.The items in the child bindinglist will be displayed as child rows in the grid.