Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
Syncfusion Grid Grouping Sort issue

I have an EJ2 grid that is grouped. Before the grid is rendered, the data from the business class is sorted by sequence number which is the requirement. When the grid renders the data, the grouping is changing the initial sort order to alphabetical. I have not been able to change the order back to by Sequence number. Any help would be greatly appreciated. Below is the grid definition.

        var grid = new ej.grids.Grid({
            dataSource: gridDS,
            allowExcelExport: true,
            allowPdfExport: true,
            toolbar: ['ExcelExport', 'PdfExport', 'CsvExport', "Search"],
            allowGrouping: true,
            dataBound: bound,
            allowSorting: true,
            allowMultiSorting: true,
            groupSettings: { captionTemplate: '#captiontemplate', showDropArea: false, columns: ['DistrictTypeName', 'DistrictName'] },
            sortSettings: {
                columns:
                    [{ field: 'DistrictTypeSequence', direction: 'Ascending' },
                     { field: 'DistrictSequence',     direction: 'Ascending' },
                     { field: 'RaceSequence',         direction: 'Ascending' }]
            },
            columns: [
                { field: "DistrictTypeId", visible: false },
                { field: "DistrictId", visible: false},
                { field: "RaceId", visible: false },
                { field: "DistrictTypeName", headerText: "District Type", width: 90},
                { field: "DistrictName",     headerText: "District",      width: 90},
                { field: "RaceName",         headerText: "",              width: 90 },
                { field: "DistrictTypeSequence", visible: false },
                { field: "DistrictSequence",     visible: false },
                { field: "RaceSequence", visible: false },
                {
                    headerText: "",
                    template: "#viewTemplate",
                    textAlign: "center",
                    width: 15
                },
                {
                    headerText: "",
                    template: "#editTemplate",
                    textAlign: "center",
                    width: 15
                },
                {
                    headerText: "",
                    template: "#deleteTemplate",
                    textAlign: "center",
                    width: 15
                },
            ],
        });

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!