NEW3.01.11 · Released 3 April 2019
NEWfinPOWER Connect
Released in
3.01.11
3 April 2019
- Opened19 Feb
- Closed21 Feb
- Released3 Apr
Article 15887
Job J021902
HTML Widgets; New widget.ArrayAllowLookupById to extend array functionality
A new widget.ArrayAllowLookupById method has been added to allow JavaScript arrays (collections) to have a case-insensitive GetItem(id) method.
The can be used as follows (assumes the AccountTypes collection contains items with both AccountTypeId and Description properties:
widget.ArrayAllowLookupById(AccountTypes, "AccountTypeId");window.alert(AccountTypes.GetItem("CC").Description);