SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way that we can incorporate a sort on the column headers of the dataview webpart in share point 2010

share|improve this question
Column headers should be generated automatically when you insert a DVWP onto the page. – Eric Alexander Feb 6 '12 at 16:18
i believe by default this functionality is available when u insert DVWP on a page – dhanya Feb 7 '12 at 6:02
up vote 1 down vote accepted

If you are referring to arranging columns based on their display name, there is no such OTB option.

share|improve this answer

An easy way to sort the columns alphabetically would be to simply change the column choices. In the ribbon, select "Add/Remove Columns". Within that dialog, all of the columns are sorted in alphabetical order, so you can remove what exists, then add them all back to your DVWP sorted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.