This question is locked. New answers and comments are not allowed.
Hi,
I've several columns in a table which have a main information and a related information, for one "case" of my grid.
I set the grid .Sortable(), but it seems it cannot know on which column it has to sort(and it's normal).
how can I indicate which data has to be sorted on each colum?
Actually I've most of my column looking like this:
Here by example, I want to sort on @item.Format.Name for this column. How can I do this? I assume this will be the same problem for filtering.
I've several columns in a table which have a main information and a related information, for one "case" of my grid.
I set the grid .Sortable(), but it seems it cannot know on which column it has to sort(and it's normal).
how can I indicate which data has to be sorted on each colum?
Actually I've most of my column looking like this:
columns.Template(@<text><p><strong>@item.Format.Name</strong></p><p>@item.Format.Width x @item.Format.Height mm</p></text>).HeaderTemplate(@<text>Format</text>);Here by example, I want to sort on @item.Format.Name for this column. How can I do this? I assume this will be the same problem for filtering.