Managing Reference Data
Reference data represents static data in a key/value pair format.
This type of data typically remains constant between server requests, making it ideal for scenarios where meaningful labels need to be displayed alongside coded values. For example, a car make might be represented as 'aud': 'Audi'.
Reference data mapping is a Core RevoGrid pattern. It uses column value handlers such as cellParser and does not require Pro plugins.
Strategies for Managing Reference Data
Section titled “Strategies for Managing Reference Data”Value handlers provide a flexible way to map codes to display values. This method involves more coding but allows for greater customization in how data is formatted and saved.
- Value Formatter: Converts the key to a user-friendly value for display in the grid.
- Value Parser: Converts the user-selected value back into a key for saving in the underlying data.
Conclusion
Section titled “Conclusion”Effectively managing reference data is essential for ensuring that users see meaningful labels alongside coded values.
// fixing render for multiframework