Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a dataview webpart (of a sharepoint custom list), with 4 columns(I want the 4th column to appear first). How can I change the order of the columns in the dataview webpart?

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Even easier in SharePoint Designer, select the Web Part and then in List View Tools Riboon -> Options Tab > Select Add/Remove Columns. You can add remove columns as well as change the position of columns.

share|improve this answer
add comment

Use the Common Tools pane to reorder the items, or cut the XSLT for the 4th column and paste it in as the first thing rendered. If you do it the later way, you'll have to adjust the TH values accordingly. If you do it through the common tools pane, it handles that for you automatically.

share|improve this answer
add comment

Your Answer

 
discard

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.