Announcement

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

    12.1p/13.0d SelectItem strange pageSize behavior depending on column count

    Hi Isomorphic,

    I tried something in the showcase today and found a strange behavior. See this sample (v12.1p_2021-11-02) and add another column for the 2nd SelectItem:
    Code:
    pickListFields: [
                  { name:"itemName", width:125 },
                  { name:"units" },
                  { name:"unitCost" },
                  { name:"inStock" }
              ]
    Try this, then start commenting out fields, starting with "inStock". The behavior is as follows:
    • 4 fields: endRow:75
    • 3 fields: endRow:83
    • 2 fields: endRow:125
    • 1 field: endRow:75
    I'd always expect endRow:75.

    This is somehow related to drawAllMaxCells, because I can get the desired behavior with
    Code:
    pickListProperties: {drawAllMaxCells:0},
    There already exists an old thread about this. I'm not sure what's going on here, but IMHO it does not make sense the way it is.
    This does not happen in 12.0p, so perhaps there was a change after that thread?

    Best regards
    Blama
    Last edited by Blama; 5 Nov 2021, 03:27.
Working...
X