No announcement yet.
  • Filter
  • Time
Clear All
new posts

    Specify Field Type Class in ds.xml

    Is it possible to specify a specific class to use in a ListGrid from the ds.xml definition?

    We created a class that extends ListGridField to handle certain data types. It works fine when we set the fields via ListGrid.setFields(). Is it possible to specify this specific class for this list grid field in the ds.xml?

    No, there isn't a way to do that, but you probably don't want to: if you want to share behavior for a certain data type, use the SimpleType system, and then you can reuse the type behaviors across all DataBoundComponents (ListGrid, DynamicForm, DetailViewer, TileGrid, etc).