471,344 Members | 992 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,344 software developers and data experts.

Datagrid Sort Symbol

Does anyone know of a way to show ascending/descending symbols in the header
when sorting a datagrid. At the moment the header text is underlined, but the
design i am working to has little triangles next to the title to show the
direction of sorting.

There does not seem to be a header template, so how can I do this?

Thanks

Rob
Jul 22 '05 #1
2 2087

Hi there,

You need to handle the Datagrid's ItemCreeated event. that will give you a
reference to the table cell that contains the link. Add your image control to
that cell.

Good luck!
--
Juan Romero
-----------------------------------------
The successful person has the habit of doing the things failures don't like
to do.
E.M. Gray
"P1ayboy" wrote:
Does anyone know of a way to show ascending/descending symbols in the header
when sorting a datagrid. At the moment the header text is underlined, but the
design i am working to has little triangles next to the title to show the
direction of sorting.

There does not seem to be a header template, so how can I do this?

Thanks

Rob

Jul 22 '05 #2
Many thanks Juan.

"Madestro" wrote:

Hi there,

You need to handle the Datagrid's ItemCreeated event. that will give you a
reference to the table cell that contains the link. Add your image control to
that cell.

Good luck!
--
Juan Romero
-----------------------------------------
The successful person has the habit of doing the things failures don't like
to do.
E.M. Gray
"P1ayboy" wrote:
Does anyone know of a way to show ascending/descending symbols in the header
when sorting a datagrid. At the moment the header text is underlined, but the
design i am working to has little triangles next to the title to show the
direction of sorting.

There does not seem to be a header template, so how can I do this?

Thanks

Rob

Jul 22 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Shivang | last post: by
2 posts views Thread by enak | last post: by
7 posts views Thread by DC Gringo | last post: by
1 post views Thread by Jeremy | last post: by
2 posts views Thread by P1ayboy | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.