locked
XsltListViewWebPart custom column sorting RRS feed

  • Question

  • Hi 

    In my SP project there is a page where i am using the XsltListViewWebPart and it has a column which contains alpha numeric data and hence the data type is string. But there is a requirement that the sorting of that column must be like this 

    Numeric first then alphabets then special characters.

    As far as i know the data binding using XsltListViewWebPart is internal and its not possible. So can anyone please help me out.

    If its not possible then i must convey it to the client.

    Thanks


    Arjun Menon U.K

    Wednesday, June 17, 2015 6:30 AM

Answers

  • Hi,

    We can use SharePoint designer to sort the column.

    <Query>
    <OrderBy>
    
    <FieldRef Name="ColumnName"/>
    
    </OrderBy>
    </Query>
    

    Best Regards


    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    • Proposed as answer by Patrick_Liang Friday, June 26, 2015 11:03 AM
    • Marked as answer by Patrick_Liang Sunday, June 28, 2015 1:45 AM
    Friday, June 19, 2015 8:46 AM