Table Widget

Last published at: May 2nd, 2023

Description:

Renders a table control, where you can place other controls inside of it.

Inputs

  • ID/Name - Name of widget generated by FlowWright (read-only field)
  • Table Width (px) - Enter the pixel value for width
  • Border - Select between any border types (Solid, Dotted, Dashed, None)
  • Background - Select between any background types (Transparent, Gray, Light Gray, White)
  • Add Row - Add Row, before or after, the current mouse cursor
  • Add Column - Add Column, before or after, the current mouse cursor
  • Alignment - Select between the alignment position (Left, Center, Right) 
  • Column Width (px) - Enter the pixel value for width. Select checkbox for entire column width.
  • Column Span - Enter value for column span
  • Row Span - Enter value for row span
  • Hide - Select checkbox to Hide (tick mark)
  • Save - Save the input values 
  • Delete - Remove this form widget from the designer page
  • Delete Column - Delete column at the current mouse cursor 
  • Delete Row - Delete row at the current row cursor
  • Close - Close the input popup window

Design:

Example: 

Let’s build and execute the TableDef example.  

  • Create a new form definition called “TableDef
  • Select the Open Designer checkbox and click the “Create” button
  • Drag a Table widget to the canvas
  • Double-click on the Table widget to configure the inputs as shown in the below graphic
  • Click on Save button and Close the popup window
  • Navigate to UI menu and Preview the form. The rendered widget will appear as shown in the below graphic

  • Control also have a context menu with options as show in the below graphic.

  • With Table widget, you can add a line widget as a separator between rows to improve the aesthetic appeal. The form design view and the rendered view is as shown below.