It would be useful to add a sortStyle parameter, and a sortDirectionStyle to grid.GetHtml(), which would render on all <td> and the <th> for the current sort column.
This would allow CSS styling for the selected sort, and allow the direction to be shown in the header.
Comments: Thanks for reporting this issue. We realize that WebGrid has a ways to go to fit more scenarios and become a fully customizable HTML helper. WebGrid was designed to address a set of fairly basic scenarios, and we do not plan to add any features at this time. There are several ways for a developer to customize to markup generated by WebGrid, but ultimately it is going to remain fairly limited in scope. Hence, regretfully and respectfully we have to resolve this issue as “won’t fix.”
This would allow CSS styling for the selected sort, and allow the direction to be shown in the header.
Comments: Thanks for reporting this issue. We realize that WebGrid has a ways to go to fit more scenarios and become a fully customizable HTML helper. WebGrid was designed to address a set of fairly basic scenarios, and we do not plan to add any features at this time. There are several ways for a developer to customize to markup generated by WebGrid, but ultimately it is going to remain fairly limited in scope. Hence, regretfully and respectfully we have to resolve this issue as “won’t fix.”