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
630
Generating dynamic grids without datasets
posted

Hi,

Is there a way to assign row count & column count to the grid at run time? How to write data to the grid dynamically accessing the cells and not assigning a data set to the data source property of the grid? If ultrawingrid doesn't support these features, please let me know if there is another Infragistics grid that supports these.

Thanks.

  • 469350
    Offline posted

    You could also bind the grid to any class which implement IList or IBindingList. If you need to add or delete data in the grid, then I recommend using UltraDataSource or BindingList<T>.

  • 69832
    Verified Answer
    Offline posted

    UltraGrid does not support any useful operations without a data set. Note that there is a component, UltraDataSource, which can be bound to the grid; this component supports the addition of rows and columns, making it easier to add "unbound" data to the grid.