Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

201
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda