Announcement

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

    10.1p/11.1p unwanted ListGrid horizontal scrollbar at start compared to 12.0d

    Hi Isomorphic,

    please see this normal and modified sample in all (10.1p/11.1p/12.0d) of the SmartClient Online Showcases (all mid December 2017).
    Code:
    isc.ListGrid.create({
        ID:"dsListGrid",
        width: "100%",
        height: 300,
        minFieldWidth:80,
        autoFetchData: true,
        dataSource: "supplyItem",
        groupByField: 'units',
        showFilterEditor: true
    });
    
    isc.ListGrid.create({
        ID:"dsListGrid2",
        width: "100%",
        height: 300,
        top: 310,
        minFieldWidth:80,
        autoFetchData: true,
        dataSource: "supplyItem",
        groupByField: 'units',
        showFilterEditor: true,
        initialCriteria: { _constructor: "AdvancedCriteria", operator: "and",
            criteria: [
                { fieldName: "unitCost", operator: "equals", value: 0.41 }
            ]
        }
    });
    You will notice the following:
    • Normal sample
      • 10.1: Horizontal scrollbar
      • 11.1: No horizontal scrollbar
      • 12.0: No horizontal scrollbar
    • Modified sample:
      • 10.1: Horizontal scrollbar (both ListGrids)
      • 11.1: Horizontal scrollbar (both ListGrids)
      • 12.0: No horizontal scrollbar (both ListGrids)
    I'd expect the Layout to be in 12.0 always. This is not important for 10.1 for me, and I also don't see it in my application, but I think this is a bug in 11.1 nevertheless.
    Please also note how this changes for 11.1 between the two samples, which makes me assume that this is really a bug and no preset change.

    Best regards
    Blama

    #2
    The difference you see across releases for the"normal sample" is expected because in 10.1 that sample contains an explicit minFieldWidth setting, making the fields wider, but it got removed in later releases. We do see a bug using your "modified sample," but the bug is with the older releases - 12.0d appears to be behaving correctly. In the older releases the columns are made too wide, beyond the required minFieldWidth - we're looking into this now.

    We're not sure what you mean by, "I'd expect the Layout to be in 12.0 always." What Layout? Are you referring to the scrollbar?

    Comment


      #3
      Hi Isomorphic,

      sorry for being unclear, I meant what you wrote before. By "layout" I meant "design" or "complete GUI", and the word "like" is missing.
      It should always look like in 12.0d IMHO, which is also what you said.

      Best regards
      Blama

      Comment

      Working...
      X