Table.props.column.width expects numeric value instead of String with 'px' suffix

Title explains it well.

Another thing to note is when I try to change the width value(on the duplicated table) I have to delete the entire field before it respects any value.

More info to add here; the only time table.props.column.width is respected is when your in the designer doing the initial adjustment. If I close the view and re-open the table goes back to it’s original width sizes but the width field retains the modified value.

I’m not able to replicate this on today’s build… Check my steps below and let me know if I missed something.

  1. Place a Table Component in a View.
  2. Click “Add Array Element” for Table.props.column
  3. set Table.props.column[0].field to “city”.
  4. set Table.props.column[0].width to 100.
  5. Save project.
  6. Close View.
  7. Open View.

Result: My Table displays only one column with width of 100. :white_check_mark:

Here’s out to reproduce what I’m seeing. This is a user error because I assumed I needed the px suffix as the basis key in a flex container requires the px.

  1. Place a Table Component in a View.
  2. Click “Add Array Element” for Table.props.column (x3 to show all columns)
  3. set Table.props.column[0].field to “city”.
  4. set Table.props.column[0].width to 10px.
  5. Save project.
  6. Close View.
  7. Open View.

Removing the px is working for me, thank you!

1 Like