Skip to content

Commit

Permalink
feat: presort props added to storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
tshimber committed Aug 29, 2024
1 parent 302559b commit 22b905a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import ScaleDataGrid from './ScaleDataGrid.vue';
},
description: `(optional) Title for sortable columns`,
control: { type: null },
},
},
height: {
table: {
type: { summary: 'string' },
Expand Down Expand Up @@ -309,6 +309,8 @@ const rows = [ [1, 'John', '12:30'], [2, 'Mary', '2:12'], [3, 'Patek', '16:01'],
- `resizable?: boolean = true`
- `sortable?: boolean = false`
- `sortBy?: 'number' | 'text' = 'text'`
- `presort?: boolean = false`
- `presortDirection?: 'ascending' | 'descending' = 'ascending'`
- `textAlign?: 'left' | 'center' | 'right' = 'left'`
- `stretchWeight?: 'number'`
- `visible?: boolean = true`
Expand Down

0 comments on commit 22b905a

Please sign in to comment.