G
Guest
Hi,
I have GridView:
<asp:GridView ID="gv" runat="server" AutoGenerateColumns="False"
AllowSorting="True" onsorting="gv_Sorting" ><Columns>
<asp:BoundField DataField="Id" HeaderText="Id" SortExpression="id" />
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="name"
/></Columns>
</asp:GridView>
I can sort by colums. But I would like user to see which column is curent
sorted by and if it is ASC or DESC.
Have do I do it by hand in onsorting event ? (change cell style, and arrow
gif)
Thanks for help
I have GridView:
<asp:GridView ID="gv" runat="server" AutoGenerateColumns="False"
AllowSorting="True" onsorting="gv_Sorting" ><Columns>
<asp:BoundField DataField="Id" HeaderText="Id" SortExpression="id" />
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="name"
/></Columns>
</asp:GridView>
I can sort by colums. But I would like user to see which column is curent
sorted by and if it is ASC or DESC.
Have do I do it by hand in onsorting event ? (change cell style, and arrow
gif)
Thanks for help