ASP.net
Awesome
Learn
Forum
Buy
Demos
Sign In
☾
☀
Switch to
Dark
Light
Mode
this site works best with javascript enabled
Ask Question
How to group table by with name that is a lookup?
Title:
B
I
{code}
?
I am storing my records in a relational database, using lookup tables for certain fields. In the grid table, I am able to modify the code so that these fields use the actual look up text descriptions (instead of the look up integer value in the main table, "1" or "2"). However, I have not been able to figure out how to modify the grouping feature ("Drag a column header and drop it here to group by that column") to use the look up text descriptions instead of the main table's integer values. Can you advise?
Save Changes
Cancel
Tim
asked at 23 Feb 2016
on our demo's homepage we have a grid that displays a column Country.Name and you can group by it, so in the Model it is Lunch { Country { Name: string } }, is that what you need ?
at 23 Feb 2016
Omu
Perfect. That's the example I am looking for. It's all grouped with the text labels for my relational tables now. Thanks.
at 23 Feb 2016
Tim
Answers
please
Sign In
to leave an answer
By accessing this site, you agree to store cookies on your device and disclose information in accordance with our
cookie policy
and
privacy policy
.
OK