Child pages
  • Providing UI Converters from Plugins

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • convertFromObject()
    Convert from UI value to dataprovider value
  • convertToObject()
    Converts from dataprovider value to UI value
  • getToObjectType (one of TEXT, INTEGER, NUMBER, DATETIME or MEDIAgetToObjectType()
    The UI data type (so the resulting type of the convertToObject()).
    This type can be provided by using the IColumnTypes constants., being one of the IColumnTypes constants: TEXT, INTEGER, NUMBER, DATETIME or MEDIA

A UI converter class can define properties in the getDefaultProperties() method, which will be displayed in the Edit text format property dialog as well.

...