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
715
Auto Generated columns for Virtual Mode
posted

Right now if we assign collection object to Grid.DataSource, the columns are auto generated.

if i want to use virtual mode then the only way is using UltraDataSource. but if i use ultradatasource i have to manually create columns and add rows. what should i do so that columns are auto generated.

 

Thanks,

Kiran

  • 469350
    Suggested Answer
    Offline posted

    Hi Kiran,

    There's no way to autogenerate the columns in UltraDataSource. In a virtual mode, the UltraDataSource an the grid have no way of knowing what the columns or bands are in the data source, since they are not bound. So you must create the band a column structure yourself.