Announcement

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

  • Blama
    replied
    Hi Isomorphic,

    I can see this is fixed using v12.1p_2024-06-18 / SNAPSHOT_v13.1d_2024-06-18.

    Thank you & Best regards
    Blama

    Leave a comment:


  • Isomorphic
    replied
    The wedged filtering/UI should be fixed back to SC 12.1 in the nightly builds dated 2024-06-15 and beyond.

    Leave a comment:


  • Blama
    started a topic 12.1p+ implicitCriteria after ungroup bug

    12.1p+ implicitCriteria after ungroup bug

    Hi Isomorphic,

    testing localization for the new groupByMaxRecordsExceededMessage feature I noticed an (unrelated) bug in 12.1p as well as this 12.0p bug.

    Please see this modified sample (v12.1p_2024-06-02, also 13.0p and 13.1d) and do the following steps:
    1. Start
    2. Right click "Continent", no grouping possible (expected)
    3. Click middle button to reduce record count
    4. Right click "Continent", grouping possible (expected)
    5. Group by "Continent"
    6. Click left or right button to bring record count up again
    7. ListGrid ungroups (expected)
    8. Other buttons stop working, no requests are being sent (unexpected)
    This does not happen when the ungroup is done manually.

    Best regards
    Blama


    Code:
    isc.ListGrid.create({
        ID: "filterGrid",
        width: 850,
        height: 500,
        alternateRecordStyles: true,
        dataSource: worldDS,
        autoFetchData: true,
        groupByField: "continent",
        groupStartOpen: "all",
        sortField: "continent",
        groupByMaxRecords: 190,
        sortByGroupFirst: "true",
        implicitCriteria: {
            _constructor: "AdvancedCriteria",
            operator: "and",
            criteria: [{
                fieldName: "continent",
                operator: "inSet",
                value: ["Africa", "Asia", "Australia/Oceania", "Europe", "North America", "South America"]
            }]
        },
        fields: [{
            name: "countryCode",
            width: 60
        }, {
            name: "government",
        }, {
            name: "continent",
        }, {
            name: "capital",
        }, {
            name: "independence",
            width: 100
        }, {
            name: "population",
            width: 100
        }, {
            name: "gdp",
            width: 85
        }]
    });
    
    // Implicit criteria Buttons
    isc.IButton.create({
        ID: "europeAsiaBtn",
        width: 250,
    
        title: "inSet: AF/AS/AU/EU/NA/SA (=all)",
        click: function() {
            filterGrid.setImplicitCriteria({
                _constructor: "AdvancedCriteria",
                operator: "and",
                criteria: [{
                    fieldName: "continent",
                    operator: "inSet",
                    value: ["Africa", "Asia", "Australia/Oceania", "Europe", "North America", "South America"]
                }]
            });
        }
    });
    isc.IButton.create({
        ID: "europeAsiaAusBtn",
        width: 250,
    
        title: "inSet: AS/AU/EU/NA/SA",
        click: function() {
            filterGrid.setImplicitCriteria({
                _constructor: "AdvancedCriteria",
                operator: "and",
                criteria: [{
                    fieldName: "continent",
                    operator: "inSet",
                    value: ["Asia", "Australia/Oceania", "Europe", "North America", "South America"]
                }]
            });
        }
    });
    isc.IButton.create({
        ID: "allCtnBtn",
        width: 250,
    
        title: "All continents (null criteria)",
        click: function() {
            filterGrid.setImplicitCriteria(null);
        }
    });
    isc.HStack.create({
        ID: "criteriaBtnStack",
        membersMargin: 30,
        height: 1,
        members: [
            isc.Label.create({
                contents: "Implicit Criteria:",
                height: 1
            }), europeAsiaBtn, europeAsiaAusBtn, allCtnBtn
        ]
    });
    
    
    isc.VStack.create({
        membersMargin: 30,
        members: [
            criteriaBtnStack, filterGrid
        ]
    });
Working...
X