Announcement

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

    strange problem in showcase with AutoChildShortcut in gridComponents

    SmartClient Version: SNAPSHOT_v13.1d_2024-08-20/AllModules Development Only (built 2024-08-20)

    Hello, while putting together a testcase to illustrate another strange issue, I'm having a strange problem with a piece of code in the showcase, I don't know if it's due to some peculiarity of the showcase, so I'm opening this thread.
    The problem is that this piece of code works correctly only when run for the 1st time after a page refresh, and only if run in the js tab of the showcase:
    Code:
    isc.ListGrid.create({
        ID: "dsListGrid",
        width: "100%",
        height: "100%",
        autoFetchData: true,
        dataSource: "supplyItem",
        showFilterEditor: true,
        gridComponents: ["autoChild:extraHandsetFilter", "filterEditor", "header", "body"],
        showExtraHandsetFilter: true,
        extraHandsetFilterProperties: {
            _constructor: "DynamicForm",
            width: "100%",
            numCols: 1,
            colWidths: ["*"],
            items: [
                {
                    name: "filterText",
                    type: "text",
                    width: "*",
                    showTitle: false,
                    hint: "search for item name",
                    showHintInField: true
                }
            ]
        },
        fields: [
            {
                name: "nextShipment",
                width: "*"
            }
        ]
    })
    
    isc.Window.create({
        ID: "aWindow",
        title: "test case",
        maximized: true,
        showCloseButton: true,
        autoCenter: true,
        autoSize: true,
        isModal: true,
        showModalMask: true,
        dismissOnOutsideClick: true,
        items: [dsListGrid]
    }).show()
    while if run in the browser or SmartClient's developer console, or when run a 2nd time, I get this warning:

    Code:
    10:07:32.820:MUP4:WARN:ListGrid:dsListGrid:Missing grid component:showExtraHandsetFilter set to true, but extraHandsetFilter not included in gridComponents. Setting showExtraHandsetFilter to false.

    #2
    We've fixed this issue. Please retest with tomorrow's build on August 24.

    Regards
    Isomorphic Software

    Comment


      #3
      SmartClient Version: SNAPSHOT_v13.1d_2024-08-24/AllModules Development Only (built 2024-08-24)

      I can confirm it's fixed, thanks

      Comment

      Working...
      X