NEW4.00.02 · Released 27 June 2023
NEWfinPOWER Connect
Released in
4.00.02
27 June 2023
  1. Opened10 Jun 2021
  2. Closed17 Mar
  3. Released27 Jun
Article 20049 Job J026743

HTML Widgets; Grids; Now allows the Export File Name to be defined

By default, right-clicking a widget.UI.Grid and selecting to export it's data (or calling the grid's ExportData() method) would create an export file name of "GridData". This file extension would vary based upon the export type selected, e.g., "GridData.csv".

A new creation option allows this to be customised, e.g.:

  C.gridMonitoredAccountsA = widget.UI.Grid("gridMonitoredAccountsA", {
    docked: true,
    exportFileName: "MonitoredAccountsA",
  });

Or, it can be updated on-the-fly, e.g.:

C.gridMonitoredAccountsA.ExportFileName("MyMonitoredAccounts");

The HTML Widget help has been updated to document these changes.