Big Monty

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • in reply to: trouble sorting dates #125245
    Big Monty
    Participant

    thank you, it’s working now!

    in reply to: trouble sorting dates #125242
    Big Monty
    Participant

    this still doesn’t work, it still treats the column as a bunch of strings when I click the column header to sort. I’m changed my column definition to:

    { label: ‘DateSubmitted’, name: ‘OrdersDateSubmitted’, formatoptions: { srcformat: ‘m/d/Y’, newformat: ‘m/d/y’ }, align: ‘center’ }

    in reply to: trouble sorting dates #125238
    Big Monty
    Participant

    thanks for the quick response!

    so if I load my data into a local variable (via ajax), then set up my grid to use local storage, it should work, right? I changed my code to the following yet sorting still doesn’t work:

    $.getJSON( url, { format: “json” }).success(function( data ) {
    $(“#jqGrid”).jqGrid({
    data: data,
    datatype: “local”,
    jsonReader: {
    repeatitems: false
    },
    ………..

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

Stay connected with us in your favorite flavor!