Announcement

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

    13.1d SetFilterItem with canExpand:true and expandedPickListFields

    Hi Isomorphic,

    please see this testcase (SNAPSHOT_v13.1d_2024-06-13). I think there are some strange things happening here:
    1. No fields are displayed on click on expand. I'm not sure I can or should modify MultiPickerItem.pickList here, but I think there should be fields displayed by default.
    2. There is a fetch for rows startRow:125, endRow:221 on expand
    3. nextShipment is not in the data

    Code:
    isc.ListGrid.create({
        ID: "supplyList",
        width: 500,
        height: 300,
        alternateRecordStyles: true,
        dataSource: supplyItem,
        fields: [{
                name: "SKU"
            },
            {
                name: "itemName"
            },
            {
                name: "description"
            },
            {
                name: "category",
                filterEditorType: "SetFilterItem",
                filterEditorProperties: {
                    expandedPickListFields: ["category", "unitCost", "nextShipment"],
                    canExpand: true,
                    optionFilterContext: {
                        summaryFunctions: {
                            "unitCost": "avg",
                            "nextShipment": "min"
                        }
                    }
                }
            }
        ],
        autoFetchData: true,
        showFilterEditor: true,
        filterOnKeypress: true,
        fetchDelay: 500
    });

    Best regards
    Blama
Working...
X