itemCategoryProperty property

Object get itemCategoryProperty

Gets or sets the name of the item data property that returns a string describing that data's category, or a function that takes an item data object and returns that string; the default value is the name 'category'. This is used to distinguish between different kinds of items in the #itemArray.

The name must not be null. If the value is an empty string, the category is assumed to be an empty string, the default category name, for all item data objects. You must not change this property when the #itemArray already has a value.

Implementation

_i2.Object get itemCategoryProperty => _i4.getProperty(
      this,
      'itemCategoryProperty',
    );
set itemCategoryProperty (Object value)

Implementation

set itemCategoryProperty(_i2.Object value) {
  _i4.setProperty(
    this,
    'itemCategoryProperty',
    value,
  );
}