Hi All,
I am trying to replace VSflexgrid with ultrawingrid. VSflexgrid has a property whereby you can attach an object as a property to each row and column. Is there anything similar to that in ultragrid.
Any information would be very helpful.
Do you need to store the data row in the grid row? For that you have the ListObject property. If you want to attach something else, you can do it in the Tag property.
You could also add unbound columns to the grid to store any extra data you want.
Thanks for the response
the approach I am taking is constructing datatable and assigning it as datasource to ultragrid so I don't access the datagridcolumns directly during loading.
Should I follow another approach, Instead of creating datatable should I directly populate ultragrid row by row.
Which of the two approaches is good one?
Dibya said: Thanks for the response the approach I am taking is constructing datatable and assigning it as datasource to ultragrid so I don't access the datagridcolumns directly during loading.
You can use a datatable and still access the columns by using the InitializeLayout event.
Dibya said: Should I follow another approach, Instead of creating datatable should I directly populate ultragrid row by row.
No. You can't do that.