jQWidgets Forums

jQuery UI Widgets Forums Grid Sorting Descending incorrect

This topic contains 2 replies, has 2 voices, and was last updated by  hanstt 12 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Sorting Descending incorrect #10669

    hanstt
    Member

    This is the result after I try to sort it in descending direction.
    The figure doesn’t seem correct, how should I sort it correctly?

    text: ‘Head Count’, datafield: ‘headcount’, cellsalign: ‘right’, filtertype: ‘number’, width: 90, cellsformat: ‘n2’,

    Sorting Descending incorrect #10673

    Peter Stoev
    Keymaster

    Make sure that your column’s type is set in the source object’s datafields array definition.

    Sample:

      datafields: [
    { name: 'ShippedDate', type: 'date' },
    { name: 'Freight', type: 'float' },
    { name: 'ShipName' },
    { name: 'ShipAddress'},
    { name: 'ShipCity'},
    { name: 'ShipCountry' }
    ],

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    Sorting Descending incorrect #10676

    hanstt
    Member

    Thanks, problem solved!

    { name: ‘headcount’, type: ‘number’ },

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.