Article Details
Id:17005
Product:finPOWER Connect
Type:NEW
Version:3.03.02
Opened:21/04/2020
Closed:28/05/2020
Released:02/07/2020
Job: J024130

HTML Widgets; Grid now supports dynamically setting editable column lists

The following methods are now available to widget.UI.Grid objects:

  • SetColumnCollection
  • SetColumnListCsv

These methods can be used to change the contents of the dropdown lists for editable columns, e.g., to vary them on a per-row basis (in which case you would call the method from the Grid's AfterRowActivate event).

These are the equivalent of setting the following options when the grid was first created:

  • listCsv
  • collection, idColumn, columns

The methods take the following parameters:

  • SetColumnCollection(key, collection, idColumn, columns)
  • SetColumnListCsv(key, listCsv)