Announcement

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

    11.1p: Grouped ListGrid setShowFilterEditor(true) triggers "grouping data" window

    Hi Isomorphic,

    please see this modified sample (v11.1p_2018-01-31):

    Code:
    isc.ListGrid.create({
        ID:"dsListGrid",
        autoFetchData: true,
        dataSource: "supplyItem",
        groupByField: "category",
        sortByGroupFirst: true,
        sortField: "itemName",
        groupByMaxRecords: 4000,
        hilites: [
            {
                cssText: "color:#FF0000;",
                criteria: {
                    fieldName: "unitCost",
                    operator: "lessThan",
                    value: 5
                }
            }]
    });
    
    isc.IButton.create({
        ID: "Button",
        title:"Show/Hide Filter",
        click:"dsListGrid.setShowFilterEditor(!dsListGrid.showFilterEditor)"
    });
    
    isc.VLayout.create({
        width: "100%",
        height: "50%",
        membersMargin: 15,
        members: [ dsListGrid, Button]
    });
    Issues:
    • On show filter, "Grouping data" is shown for some time. Hide filter on the other hand does not trigger "Grouping data", so I assume it should always be possible without this.
    • On button click the grouping row changes its height. On 1st hover, it changes it back. This might be related to this closed 11.1d(!) issue.
    • If filter hidden and hovering the grouping row, it gets red (from the Hilite). If the Hilite applies (I think it does), it should apply directly. This might be related to this issue I posted yesterday.
    Click image for larger version

Name:	Grouped ListGrid FilterRow and Hilites issues.gif
Views:	269
Size:	256.5 KB
ID:	251521

    Best regards
    Blama

    #2
    Hi Isomorphic,

    after the fix of this issue, here only the main issue is open (v11.1p_2018-02-05):
    • On show filter, "Grouping data" is shown for some time. Hide filter on the other hand does not trigger "Grouping data", so I assume it should always be possible without this.
    Best regards
    Blama

    Comment


      #3
      We've made a change back to SC 10.1p to avoid what appears to be an unnecessary regroup in the situation you describe. It will be in the nightly builds dated 2018-02-07 and beyond.

      Comment


        #4
        Hi Isomorphic,

        I can see this one is fixed using the sample code and v11.1p_2018-02-07.

        Thank you & Best regards
        Blama

        Comment

        Working...
        X