Versions Compared

Key

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

Table of Contents

...

Column additional options:
    - expression - [string] expression that defines what should be desplayed as column content (see expressions section)
    - link - [true | false] this parameters defines if column content should be link to corresponding view (default value is false)
    - width - [integer] defines width of column. Default value is 100. Widths in grid are calculated proportionally.
    - hidden - [true | false] this parameters defines if column is visible (default value is false)

    - classesCls classesNames - [string] defines additional CSS classes for column (classes should be defined in CSS files, this parameter doesn't work with link = true option) - example classesCls="wrap-date green-cell"

    - classesCondition - [string] defines a condition that tells whether classes should be added to a cell in a column (you could use a standard js comparison operators for example: >,=== and logical operators for example: &&, ||, in addition, you can use entity fields with notation  rowObject['fieldName']) - example "rowObject['producedOrderQuantity'] >= rowObject['masterOrderQuantity']"
    - align - ["left" | "right"] column's content alignment (default value is "left" except column binded with numeric field) 

...