Skip to content

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'.

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

Effectively managing reference data is essential for ensuring that users see meaningful labels alongside coded values.