Home All Groups Group Topic Archive Search About

Q: DataGrid with combos in a field

Author
28 Mar 2006 4:28 PM
G .Net
Hi

I have a DataGrid which has combos in the first field. These combos are
populated via a DataView from another table. When I click the header of the
field i.e. to sort it, the rows are sorted via the foriegn key in the combo,
rather than the value that is actually displayed. How can I get the sort to
use the value displayed in the combo?

G

Author
28 Mar 2006 11:29 PM
Ken Tucker [MVP]
Hi,

http://www.vb-tips.com/default.aspx?ID=e51432cb-e517-4bae-bc26-7320e41e6d05

Ken
------------
Show quoteHide quote
"G .Net" <nodamnspam@email.com> wrote in message
news:tYudnc-dOZfV-bTZnZ2dnUVZ8t2dnZ2d@pipex.net...
> Hi
>
> I have a DataGrid which has combos in the first field. These combos are
> populated via a DataView from another table. When I click the header of
> the field i.e. to sort it, the rows are sorted via the foriegn key in the
> combo, rather than the value that is actually displayed. How can I get the
> sort to use the value displayed in the combo?
>
> G
>