Drop down Menus in header rows in SPGridView RRS feed

  • Question

  • Hi,

    I am trying to implement a web part which uses a SPGridView to display a list. I want to implement sorting based on available properties for this web part.

    I have been successful in implementing sorting. I also wanted to implement Drop down menus which appear on the header row that allows the user to select ascending or descending order of sorting,and also filtering options if available. Right now all i get in the header is a hyperlink, which when clicked toggles the current sorting preference. Columns which do not have sorting enabled  have plain text in their header  cell.

    Apart from the hyperlink, there is no visual indicator for sorting. How do I  implement drop down menus for the header row alone?

    Monday, December 10, 2007 10:19 PM

All replies