Article Details
Id: | 21349 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 4.01.01 |
Opened: | 21/03/2024 |
Closed: | 08/04/2024 |
Released: | 24/06/2024 |
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.