Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7540585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:40:52+00:00 2026-05-30T07:40:52+00:00

I created columns in code, 3 to Row Area, rest in column area, and

  • 0

I created columns in code, 3 to Row Area, rest in column area, and all those in row area are grouped by name, and I don’t want any of grouping/sorting, because I sorted and grouped it as I want in stored procedure.

Any idea how to disable automatic grouping/sorting?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:40:53+00:00Added an answer on May 30, 2026 at 7:40 am

    Ref: Can I disable sort?

    it’s impossible to disable sorting. The PivotGridControl groups data
    by identical values to calculate summaries. This operation requires
    data to be sorted. Also, each row or column in the PivotGridControl
    might be associated with multiple records in the data source. In other
    words, there is no way to uniquely identify the rows and columns order
    in the PivotGridControl.

    In this case, it is necessary to sort data manually by handling the ASPxPivotGrid.CustomFieldSort event. Do your calculation of sorting and grouping at this event.Below, I have posted a code snippet, demonstrating how to disable sorting:

    private void pivotGridControl1_CustomFieldSort(object sender, PivotGridCustomFieldSortEventArgs e)
    {
        e.Result = e.ListSourceRowIndex1.CompareTo(e.ListSourceRowIndex2);
        e.Handled = true;
    }
    

    Reference:
    Disable sorting feature by row/column
    How to disable sorting and filtering features
    SortOrder changed event handler
    Regarding Grid Default Alphabetic Sorting

    PivotGridCommands.ClearSorting Property

    check the AspxPivotGrid Sorting section for help in your calculations.

    ASPxPivotGrid’s PivotGridOptionsCustomization.AllowSort option.
    The order in which field values are sorted is specified by a field’s PivotGridFieldBase.SortOrder property.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created a Column button in datagrid using this code <Columns> <asp:ButtonColumn Text=Resend ButtonType=PushButton
@Column(name=DateOfBirth) private Date dateOfBirth; I specifically need the above code to create a column
Does nHibernate create code that has all the details of the column? I know
I've created 2 columns. The 2nd is 240px wide and the 1st takes all
I created a simple solution for expandable columns/rows with rich:datatable and rich:column, which is
I have DataGrid with explicitly created columns in code. I am binding WPF element
i have created a table with a row and 4 columns.i declared attributes class,id
Why, this code create 2 the same columns in grid (Color and Color). How
I've written the following code to create a three-column layout where the first and
Okay, here's the situation: We have a table of about 50 columns (created by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.