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
|`--wjdv-resizer-overlay-opacity`|`0.7`|`0.7`| Opacity of the entire resizer overlay. |
186
+
|`--wjdv-resizer-overlay-bg-color`|`lightblue`|`#0578ea`| Background color of the overlay section that represents the original column's size. |
187
+
|`--wjdv-resizer-overlay-border-color`|`blue`|`#13aeff`| Border color of the overlay section that represents the original column's size. |
188
+
|`--wjdv-resizer-deltapos-bg-color`|`lightgreen`|`lightgreen`| Background color of the overlay setion that represents the column's size increase. |
189
+
|`--wjdv-resizer-deltapos-border-color`|`green`|`green`| Border color of the overlay setion that represents the column's size increase. |
190
+
|`--wjdv-resizer-deltaneg-bg-color`|`pink`|`pink`| Background color of the overlay setion that represents the column's size reduction. |
191
+
|`--wjdv-resizer-deltaneg-border-color`|`red`|`red`| Border color of the overlay setion that represents the column's size reduction. |
192
+
193
+
## Reference
194
+
195
+
### Props
196
+
197
+
| Property | Type | Default Value | Description |
198
+
| - | - | - | - |
199
+
|`columns`|`WjDvColumn<TCol, TRow>[]`| (none) | Defines the columns the data view component will create. |
200
+
|`data`|`WjDvRow<TRow>[]`| (none) | The data that is shown by the data view component. |
201
+
|`get`|`(row: TRow, key: string) => any`| (function) | Function that retrieves a column's value using the row and provided key for columns that don't provide one. |
202
+
|`defaultWidth`|`number`|`10`| The width for colums that don't specify its own width, in `em`'s. |
203
+
|`rowHighlight`|`boolean`|`true`| Turns the row-highlighting-on-hover feature on and off. |
204
+
|`striped`|`boolean`|`true`| Turns the striping of rows on and off. |
205
+
|`pinnedDivider`|`boolean`|`true`| Turns the divider between pinned and unpinned columns on and off. |
206
+
|`class`|`string`|`undefined`| Additional CSS classes that are applied to the data view's viewport (the top-level element). |
207
+
208
+
### Snippets (formerly slots)
209
+
210
+
| Name | Signature | Description |
211
+
| - | - | - |
212
+
|`headerCell`|`(col: WjDvColumn<TCol, TRow>)`| Renders header cells' content. The snippet is passed the column definition. |
213
+
|`dataCell`|`(col: WjDvColumn<TCol, TRow>, row: WjDvRow<TRow>])`| Renders data cells' content. The snippet is passed the column definition and the data object for the row being rendered. |
0 commit comments