FIX4.01.01 · Released 24 June 2024
FIXfinPOWER Connect
Released in
4.01.01
24 June 2024
  1. Opened21 Mar
  2. Closed8 Apr
  3. Released24 Jun
Article 21349 Job J033151

Task Manager 2; Task Manager 2 Folder Scripts; Setting .WidthHtml for User Data Headings appeared to not work correctly

Task Manager 2 Folder Scripts can be used to add additional columns to folders such as "Monitored Accounts", e.g.,:

With result.UserDataHeadings(0)
  .Caption = "String"
  .WidthHtml = "250px"
End With

The above code did in fact do as expected, providing the screen was large enough to accommodate an additional 250px wide column.

However, it makes more sense to the WidgetHtml property to be properly respected. For this reason, HTML Widget grid columns now support a minWidth property. This is used instead of the width property that was previously used and therefore forces the grid to respect the specified width.

NOTE: This change is made internally within the widget grid and does not require any Script changes.