D
DKC
Hi,
Using VB.NET.
I have a datagrid having a strongly typed array of objects as its data
source.
The data from the array of objects is displayed by means of a table style,
which is fine, but I cannot sort the data when I click on the column header.
I have set the tablestype.allowsorting = true, but this has no effect.
On the other hand, when I set the datasource to a data table, sorting works
on column header click.
What should I do to get the table sorting to wotk with the array of objects?
Thanks
DKC
Using VB.NET.
I have a datagrid having a strongly typed array of objects as its data
source.
The data from the array of objects is displayed by means of a table style,
which is fine, but I cannot sort the data when I click on the column header.
I have set the tablestype.allowsorting = true, but this has no effect.
On the other hand, when I set the datasource to a data table, sorting works
on column header click.
What should I do to get the table sorting to wotk with the array of objects?
Thanks
DKC