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.
|
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
|