Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 1.29 KB

File metadata and controls

15 lines (14 loc) · 1.29 KB

Table Column Options

  • flexGrow: The grow factor relative to other columns. Same as the [flex-grow API](http =//www.w3.org/TR/css3-flexbox/). It will any available extra width and distribute it proportionally according to all columns' flexGrow values. Default value: 0
  • minWidth: Minimum width of the column in pixels. Default value: 100
  • maxWidth: Maximum width of the column in pixels. Default value: undefined
  • width: The width of the column by default in pixels. Default value: 150
  • resizeable: The column can be resized manually by the user. Default value: true
  • comparator: Custom sort comparator, used to apply custom sorting client-side or server-side. If undefined will use built in sorting. Default value: undefined
  • sortable: Sorting of the row values by this column. Default value: true
  • draggable: The column can be dragged to re-order. Default value: true
  • canAutoResize: Whether the column can automatically resize to fill extra space. Default value: true
  • name: Column label
  • prop: The property to bind the row values to. If undefined, it will camelcase the name value.
  • cellTemplate: Angular TemplateRef allowing you to author custom body cell templates
  • headerTemplate: Angular TemplateRef allowing you to author custom header cell templates