Hi,
I've just started working with WinForms so there may just be something I'm missing here - all of my .NET has been Console, Services and ASP.NET until now. Working in C#.
So I've got a databound grid with a databound lookup column. Works great, showing the related column. The problem is when I drag that column up to group by it, I get the value rather than the display value, i.e. I get the related key value rather than the text displayed in the column, so when grouping by Section column, instead of this
Section: Test
Section: A new section
Section: Test Section
I get:
Section: 1
Section: 2
Section: 3
Where 1, 2,3 are the corresponding keys for Test, A new Section, Test Section.
I would assume I am missing something easy here as this is pretty basic stuff but I can find nothing on the column about what to display when grouping.
Regards,
Nick H
I've just started working with WinForms so there may just be something I'm missing here - all of my .NET has been Console, Services and ASP.NET until now. Working in C#.
So I've got a databound grid with a databound lookup column. Works great, showing the related column. The problem is when I drag that column up to group by it, I get the value rather than the display value, i.e. I get the related key value rather than the text displayed in the column, so when grouping by Section column, instead of this
Section: Test
Section: A new section
Section: Test Section
I get:
Section: 1
Section: 2
Section: 3
Where 1, 2,3 are the corresponding keys for Test, A new Section, Test Section.
I would assume I am missing something easy here as this is pretty basic stuff but I can find nothing on the column about what to display when grouping.
Regards,
Nick H