Options
All
  • Public
  • Public/Protected
  • All
Menu

Object that allows users to pre-define styles for Rows in the Vendor Grid.

This is particularly useful for when you create a custom theme for the Adaptable Blotter and want the grid to share the same colour scheme.

It includes the Style - which can be just a classname or a set of properties .

Also contains the RowType - e.g. All Rows, or Just Odd or Even (used for when requiring an Alternate Row style)

Row Style Example

export default {
 UserInterface: {
   RowStyles: [
     {
    Style: {
      ClassName: 'evenRowStyle',
     },
     RowType: 'Even',
    },
    {
      Style: {
        ForeColor: 'lightyellow',
        BackColor: 'brown',
       FontStyle: 'Italic',
    },
    RowType: 'Odd',
  },
 ],
},
} as PredefinedConfig;

Hierarchy

  • RowStyle

Index

Properties

Properties

RowType

RowType: "All" | "Odd" | "Even"

Which Row should be Styled.

We provide All (which styles the whole grid) and 'Odd' and 'Even' for where you require alternating row styles.

Note: if you have any 'All' RowTypes then 'Odd' and 'Even' RowTypes will be ignored.

Style

Style: IStyle

The Style to use for the Row. For more details see the Style object.

Generated using TypeDoc