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
145
Dynamically create UltraWinGrids
posted

Hi,

Is there anyway I can create grids at runtime?

I might have a need to create 1 or more grid at run time.

Is that possible?

 Thanks,

K

Parents
No Data
Reply
  • 37774
    posted

    All that you would need to do is create the grid and add it to your form's (or various container's) Controls collection, i.e.:

    UltraGrid grid = new UltraGrid();

    grid.DataSource = myDataSource;

    grid.Dock = DockStyle.Fill;

    this.Controls.Add(grid);

    -Matt

Children