Welcome Guest Search | Active Topics | Sign In | Register

Grid sort header style Options
tb
Posted: Monday, May 19, 2008 1:01:03 PM
Rank: Newbie
Groups: Member

Joined: 3/13/2008
Posts: 6
On a grid, if an item is sortable, is there a way to set the text on the header to look different than item headers that are not sortable? For example - underline the header text so it has the appearance of a clickable link? I can't find anyway to access sort specific styles other than the image for ascending and descending sorting.
eo_support
Posted: Tuesday, May 20, 2008 9:30:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can put some simple HTML to the columns heade text, for example, instead of setting the column's HeaderText to "Name", you can set it to "<span style='text-decoration:underline'>Name</span>".

You may also want to take a look of the Grid's ColumnHeaderAscImage and ColumnHeaderDescImage property. You can use those properties to display a customized image on the column header depending on the current sorting order.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.