I should add sorting order icons to Ajax WebGrid. The following approach works:
grid.Column("Name", string.Format("Name {0}", grid.SortColumn == "Name" ? grid.SortDirection == SortDirection.Ascending ? "▼" : "▲" : "")
But should be applied to every column.
Is there any other approach to add sorting indicators only to sorted column in one place? For example, modifying the grid after grid.GetHtml().