The ListFormat is a static class for formatting and parsing an array of strings in a locale-sensitive manner according to a set of format options.
Method | Description |
---|---|
format |
Formats a list according to the given format options. |
sap.ui.core.format.ListFormat.getInstance |
Get an instance of the ListFormat which can be used for formatting. |
parse |
Parses a given list string into an array. |
Formats a list according to the given format options.
Param | Type | DefaultValue | Description |
---|---|---|---|
aList | array |
The value to format |
Get an instance of the ListFormat which can be used for formatting.
Param | Type | DefaultValue | Description |
---|---|---|---|
oFormatOptions | object |
Object which defines the format options |
|
oLocale | sap.ui.core.Locale |
Locale to get the formatter for |