Announcement

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

    Miller Columns error with showMultipleColumns: false

    SmartClient Version: v13.0p_2024-01-10/AllModules Development Only (built 2024-01-10)
    and
    SmartClient Version: SNAPSHOT_v13.1d_2024-01-11/AllModules Development Only (built 2024-01-11)

    Chrome on MacOS

    Hello, I was trying the miller Column sample, with showMultipleColumns: false, so modified like this:

    Code:
    isc.ColumnTree.create({
        ID: "employeeColTree",
        width: "100%",
        showMultipleColumns: false,
        showNodeCount: true,
        height: 205,
        dataSource: "employees",
        autoFetchData: true,
        nodeIcon:"[SAMPLE]icons/16/person.png",
        folderIcon:"[SAMPLE]icons/16/person.png",
        showOpenIcons:false,
        showDropIcons:false,
        closedIconSuffix:"",
        showHeaders: true,
        showNodeCount: true
    });
    and I noticed that the back button works only after the first "column transition", and after I get this js error:
    Code:
    ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:2694 Uncaught TypeError: Cannot read properties of null (reading 'getSelectedRecord')
        at _3.isc_ColumnTree_navigateBack [as navigateBack] (ISC_Grids.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:4211:587)
        at _3.click (ISC_Grids.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:4204:340)
        at _3.isc_StatefulCanvas_handleActivate [as handleActivate] (ISC_Foundation.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:242:108)
        at _3.isc_StatefulCanvas_handleClick [as handleClick] (ISC_Foundation.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:243:13)
        at _3.isc_c_EventHandler_bubbleEvent [as bubbleEvent] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:2595:89)
        at _3.isc_c_EventHandler_handleClick [as handleClick] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:2405:50)
        at _3.isc_c_EventHandler__handleMouseUp [as $k5] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:2387:11)
        at _3.isc_c_EventHandler_handleMouseUp [as handleMouseUp] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:2378:57)
        at _3.isc_c_EventHandler_dispatch [as dispatch] (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:2694:122)
        at HTMLDocument.eval (eval at isc__makeFunction (ISC_Core.js?isc_version=SNAPSHOT_v13.1d_2024-01-11.js:92:1135), <anonymous>:3:123)
    Also the back button seems not very well positioned:

    Click image for larger version

Name:	2024-01-11 16.20.23.jpg
Views:	70
Size:	15.6 KB
ID:	271509

    #2
    Hello, did you have a chance to look into this?

    Comment


      #3
      Hello, I still see this error in the latest 13.0 and 13.1.
      To replicate it's sufficient to navigate forward for more than one level, then press the back button.

      Comment

      Working...
      X