Table column width feature request

Hi everyone,

I was able to figure out a way to enable the autoColumnWidth flag for the new table component, wanted to share it here in case anyone else would benefit from this until it's generally available in the editor UI.

  1. Export your app using the Export to ToolScript ZIP option
  2. Extract the contents of the .ZIP file you just downloaded
  3. Open the main.rsx file using a text editor like NotePad++
  4. Your table component will be formatted like "<Table ...", you can also search for it by ID (ex: "table1" or "table2")
  5. Add the following line as a property within this component: autoColumnWidth={true}
  6. If done correctly, it should look something like this:
<Table
      id="table2"
      autoColumnWidth={true}
      ...
>
  1. Save your changes to the main.rsx file
  2. Re-zip the folder
  3. Upload the .zip file using the Import app from JSON/ZIP option
  4. Confirm that it worked by inspecting the table component in the State viewer, it should have the autoColumnWidth property visible as true

Screenshot 2023-11-11 164512

1 Like