Article Details
Id: | 15820 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.01.10 |
Opened: | 22/01/2019 |
Closed: | 22/01/2019 |
Released: | 05/02/2019 |
Job: | J021773 |
HTML Widgets; Grids; Now allows separators between sets of buttons
Widget Grids (widget.UI.Grid) controls can now have separators in their buttons list dispalayed below the grid.
The is achieved by inserting empty JavaScript objects into the array of actions, e.g.:
var actions = [];
actions.push({actionId: "1", caption: "Exit", icon: "Account", checked: true});
actions.push({});
actions.push({actionId: "2", icon: "Client"});
actions.push({actionId: "3", icon: "AccountApp"});
actions.push({});
actions.push({actionId: "12", icon: "Client"});
actions.push({actionId: "13", icon: "AccountApp"});
mGridItems.Actions().Define(actions);