Skip to main content
February 13, 2025
Question

Editable grid changed after pressing add row link

  • February 13, 2025
  • 3 replies
  • 0 views

I have an editable grid with an addRowLink, when I clicked the add row link, the grid somehow changed, like first column became wider and last column was narrowed, anyone knows why

The only think I did in addRowLink is append a new item to current list

    3 replies

    February 13, 2025

    Have you tried setting the width value in each of your a!gridLayoutColumnConfig()?

    mikes0011
    Brainy
    February 13, 2025

    If you don't have column width/weight values established, this would probably be expected behavior as the grid auto adjusts column widths given what's actually being displayed in them.

    andrewh6762
    February 13, 2025

    What Mike said. It looks like your placeholder values in your dropdown fields are longer than the real values that will generally be in these fields. As a test, change the placeholders to --Select-- to see if the behaviour changes.