Skip to main content
November 16, 2021
Question

a!gridLayoutColumnConfig not showing any effect when grid column are more than 10 like 17 in editable grid

  • November 16, 2021
  • 2 replies
  • 0 views

Hi ,

I have a editable grid having 17 columns and horizontal scroll is appearing in the page due to large number of columns.

I am trying to use weight of the a!gridLayoutColumnConfig(width: "DISTRIBUTE", weight: 8) for width distribution like making one column wide and other less wide but non is showing any effect on the width distribution of columns, all are appearing fixed width on the screen.

Is it like a!gridLayoutColumnConfig stops working if number of columns are huge ?

Please help with pointers.

Regards

Bihitak 

    2 replies

    mikes0011
    Brainy
    November 16, 2021

    I believe this is currently expected behavior, for what it's worth.

    The way I think of it is, that the weightings are only proportional to extra available space, and once there is no extra available space, they become percentages of zero (and thus zero themselves).

    Standard practice / suggestions from Appian (AFAIK) would be to reduce the number of columns used in any particular grid, use smaller columns where appropriate ("narrow" or "icon") to save space for columns that might need more room, etc.

    The Expression Guru
    November 17, 2021

    Thanks