You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
* Set the text of the table caption and the caption on the top of the table.
98
+
*
99
+
*@since 4.5.0
100
+
*/
101
+
captionTop:{
102
+
type:String,
103
+
default:undefined,
104
+
required:false,
105
+
},
106
+
/**
107
+
* Prop for table columns configuration. If prop is not defined, table will display columns based on the first item keys, omitting keys that begins with underscore (e.g. '_props')
108
+
*
109
+
* In columns prop each array item represents one column. Item might be specified in two ways:
110
+
* String: each item define column name equal to item value.
111
+
* Object: item is object with following keys available as column configuration:
112
+
* - key (required)(String) - define column name equal to item key.
113
+
* - label (String) - define visible label of column. If not defined, label will be generated automatically based on column name, by converting kebab-case and snake_case to individual words and capitalization of each word.
114
+
* - _props (Object) - adds classes to all cels in column, ex. _props: { scope: 'col', className: 'custom-class' },
115
+
* - _style (Object) - adds styles to the column header (useful for defining widths)
116
+
*
117
+
*@since 4.5.0
118
+
*/
119
+
columns:{
120
+
type:ArrayasPropType<Column[]|string[]>,
121
+
required:false,
53
122
},
54
123
/**
55
124
* Sets the color context of the component to one of CoreUI’s themed colors.
*Make any table responsive across all viewports or pick a maximum breakpoint with whichtohave a responsive table up to.
152
+
*Array of objects, where each object represents one item - row in table. Additionally, you can add style classestoeach row by passing them by '_props' key and to single cell by '_cellProps'.