jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Grid not getting remote JSON Grid not getting remote JSON #22832

    JoeBooth
    Member

    Thanks for the suggestions, I’ll give them a try…

    Strange thing is that one works and one doesn’t..

    in reply to: Grid not getting remote JSON Grid not getting remote JSON #22818

    JoeBooth
    Member

    This never calls the AJAX method, but if I call the URL manually, I get JSON data back as expected:

            var source =
    {
    datatype: "json",
    datafields: [
    { name: 'ID', type: 'string' },
    { name: 'PlayingDate', type: 'date' },
    { name: 'HTeam', type: 'string' },
    { name: 'HomeScore', type: 'int' },
    { name: 'VTeam', type: 'string' },
    { name: "VistorScore", type: 'int' }
    ],
    id: 'ID',
    url: 'Scoring/GetScorings'
    };

    This example works fine:

        var source =
    {
    datatype: "json",
    datafields: [
    { name: 'ID', type: 'string' },
    { name: 'PlayingDate', type: 'date' },
    { name: 'PlayingTime', type: 'string' },
    { name: 'HTeam', type: 'string' },
    { name: 'HomeScore', type: 'int' },
    { name: 'VTeam', type: 'string' },
    { name: "VistorScore", type: 'int' },
    { name: "FieldName", type: 'string' },
    { name: "HTMLScoreReport", type: 'string' },
    { name: "WeekNo", type: 'int' }
    ],
    id: 'ID',
    url: 'Sched/GetSched'
    }

    Running the JSON URL’s manually return the proper result… If I put a breakpoint in each, the second breakpoint gets reached, but the first one doesn’t. Any clues, suggestions, ideas, etc would be most appreciated…

    in reply to: Grid not getting remote JSON Grid not getting remote JSON #22817

    JoeBooth
    Member

    I have the exact same problem, yet strangely other JSON calls in the same website work as expected….

    Frustrating, and the lack of ideas as to what to even try is discouraging

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