Methods
(static) addDeprecationWarnings()
Add deprecation warnings for deprecated legacy data model properties.
This method may be removed in a future version whence all deprecations are removed.
This:
- {Local}
(static) addFriendlierDrillDownMapKeys()
This:
- {Local}
(static) injectCode(dataModel)
Inject fallback methods into data model when not implemented by data model.
This:
- {Local}
Parameters:
| Name | Type | Description |
|---|---|---|
dataModel |
DataModel |
(static) injectDefaulthooks(dataModel)
This:
- {Local}
Parameters:
| Name | Type | Description |
|---|---|---|
dataModel |
DataModel |
(static) injectPolyfills(dataModel)
Injects missing utility functions into the data model.
Typically, data models are extended from datasaur-base which supplies the utility functions. However, extending from datasaur-base is not a requirement and for those data models that do not, the necessary utility functions are injected here.
The only utility function so injected at this time is install, which is used by:
injectCodeto:- Inject fallbacks for missing non-essential data model methods
- Bind the data model's
dispatchEventmethod to the grid instance
injectDefaulthooksto:- Inject a default for the
getCellhook - Inject a default for the
getCellEditorAthook
- Inject a default for the
This:
- {Local}
Parameters:
| Name | Type | Description |
|---|---|---|
dataModel |
DataModel |