Hi,
I use the Template Grid Column in a lot of places throughout my app to link to related objects. For example, Contacts can be directly linked to an Account, therefore I allow users to navigate to the Account via the Account Name link in the Grid.
Since both columns have an underlying field that is bound (ContactID & AccountID), is there a way to group/filter on these columns like you would on a regular "Bound" field?
Thanks,
Landon
I use the Template Grid Column in a lot of places throughout my app to link to related objects. For example, Contacts can be directly linked to an Account, therefore I allow users to navigate to the Account via the Account Name link in the Grid.
.Columns(columns =>
{
columns.Template(c => c.ContactID)
.ClientTemplate("<
a
href=\"/Contacts/Details/#=ContactID#\">#=Name#</
a
>")
.Title("Name");
columns.Template(c => c.Account.AccountName)
.ClientTemplate("<a
href=\"/Accounts/Details/#=AccountID#\">#=Account.AccountName#</
a
>")
.Title("Account");
})
Thanks,
Landon