Announcement

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

    12.0p ListGrid.showFilterEditor(true) causes ListGrid to scroll to the very left

    Hi Isomorphic,

    please see this modified online testcase (v12.0p_2019-02-16):
    1) Start
    2) Right-Click "Auto Fit All Columns"
    3) Scroll ListGrid a bit to the right
    4) Show filterRow via button

    You'll notice that the ListGrid scrolls to the very left. This does also happen ungrouped and should not do so in both cases, as this is confusing for the user.

    Code:
    isc.ListGrid.create({
        ID:"dsListGrid", 
        width: "100%",
        height: "100%",
        autoFetchData: true,
        canEdit: true,
        groupByField: "category",
        initialSort: [
            {property: "category", direction: "ascending"},
            {property: "units", direction: "ascending"}
        ],
        dataSource: "supplyItem",
        showFilterEditor: true,
        implicitCriteria: { _constructor: "AdvancedCriteria", operator: "and",
            criteria: [ { fieldName: "units", operator: "isNull" } ]
        }
    });
    
    isc.IButton.create({
        ID:"toggleFilterRow", width: 200,
        title:"Show/Hide filterRow",
        click : function () {
            dsListGrid.setShowFilterEditor(!dsListGrid.showFilterEditor);
        }
    });
    
    isc.VLayout.create({
        membersMargin:10,
        width: "100%",
        height: "100%",
        members:[ dsListGrid, toggleFilterRow]
    });
    Best regards
    Blama

    #2
    Thanks for the notification
    We've made a change to address this issue. Please try the next nightly build dated Feb 20 or above

    Regards
    Isomorphic Software

    Comment

    Working...
    X