Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    ListGrid with groupByField and sortByGroupFirst sends double fetch at the same time (with and without sort)

    Hi Isomorphic,

    please see this modified sample (v11.1p_2018-01-29). With sortByGroupFirst: true I get two requests directly at the start of the sample, once without, once with sortBy:["category"]. I'd expect only the one with sortBy.

    Code:
    isc.ListGrid.create({
        ID:"dsListGrid",
        width: "100%",
        height: "100%",
        autoFetchData: true,
        dataSource: "supplyItem",
    [B]   groupByField: "category",
        sortByGroupFirst: true[/B]
    });
    Best regards
    Blama

    #2
    Hi Isomorphic,

    it gets even stranger: Add sortField: "itemName" at the end.
    Before both requests were 0-1000, now the one with only one sortBy field is 0-75, the one with two fields is 0-1000.

    You explained the 2nd behavior already here. Also, here the 2nd request is started only after the 1st one arrived.
    So the problem seems to be only with the 1st case.

    Best regards
    Blama

    Comment


      #3
      The first issue you mention has been fixed back to SGWT 5.0p/SC 10.0p in the nightly builds dated 2018-02-05 and beyond.

      Comment


        #4
        Hi Isomorphic,

        I can see this one is fixed using v11.1p_2018-02-07. As the 2nd is by design, this thread is closed for me now.

        Thank you & Best regards
        Blama

        Comment

        Working...
        X