Article Details
Id:17665
Product:finPOWER Connect
Type:NEW
Version:3.03.05
Opened:09/12/2020
Closed:09/12/2020
Released:25/02/2021
Job: J025665

HTML Widgets; widget.UI.ButtonList; New options "showCategory" and "buttonWidth"

The widget.UI.ButtonList control now has options to control whether buttons are grouped by their (new) category property and also to override the button width for grid-based layouts.

The following code sample shows how these properties are used in the Audit Search HTML Widget:

C.blAuditQuestions = widget.UI.ButtonList("blAuditQuestions", {
  showCategory: true,
  buttonWidth: "140px",

  onChange: blAuditQuestions_Change,
});