import GridPreferencesInfo from 'flexicious-react-datagrid/js/flexgrid/persistence/GridPreferencesInfo.js'GridPreferencesInfo
Extends:
Class added in 2.9 to support multiple preferences. Each IPersistable has a gridpreferences object, that contains an array of PreferenceInfo objects
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
Name of the default preference |
|
| public |
Flag that tells the grid to load the default preferences on creation complete |
|
| public |
List of saved preferences. |
|
Method Summary
| Public Methods | ||
| public |
fromPreferenceString(uso: *, str: *): * Converts a string resut of toPreferenceString to a GridPreferencesInfo object |
|
| public |
|
|
| public |
toPreferenceString(uso: *): String A function that converts the current preference object into a string. |
|
Inherited Summary
| From class TypedObject | ||
| public |
typeCache: {} |
|
| public |
|
|
| public |
Returns a list of strings that represent the object hierarchy for this object. |
|
| public |
implementsOrExtends(name: *): Boolean Returns true if the class name to check is in the list of class names defined for this class. |
|
Public Constructors
Public Members
public defaultPreferenceName: String source
Name of the default preference
Properties:
| Name | Type | Attribute | Description |
| defaultPreferenceName | * |
Public Methods
public fromPreferenceString(uso: *, str: *): * source
Converts a string resut of toPreferenceString to a GridPreferencesInfo object
Params:
| Name | Type | Attribute | Description |
| uso | * | ||
| str | * |
Return:
| * |
public getClassNames(): Array source
Returns a list of strings that represent the object hierarchy for this object.