Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial commit * Group by multiple columns * Cleanup viewport rows * memoize group row, add groupRowRenderer prop * Cleanup useViewportColumns * Fix keys * Add column.groupFormatter prop and checkbox column * Checkbox selection for group row * Validate groupBy columns * Ckeck isSelectable * ColSpan * Disable copy/paste and cell drag down on treegrid * Add treegrid aria attributes * Fix rowsCount * Fix rowsCount * Fix aria-rowindex and aria-rowcount and update grouprow props * Change expandedGroupIds/onExpandedGroupIdsChange to props * Use 1 loop * Cleanup * Add GroupCell component * Add row selection for group rows * Cleanup * Handle Home and End keys for GroupRow * Clanup navigation logic * Cleanup * Improve navigation logic * Cleanup * Handle copy/paste * Grouping story * Add select to choose group by field * Use SortableSelect * Cleanup * Improve types * Fic type * Address comments * useFocusRef * Update src/DataGrid.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update src/DataGrid.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update src/types.ts Co-authored-by: Nicolas Stepien <[email protected]> * Update src/types.ts Co-authored-by: Nicolas Stepien <[email protected]> * Fix types * Add stopPropagation helper * Move onExpandedGroupIdsChange check outside * Cleanup * Add groupFocusable and remove __isGroup field * fix dependencies * Fix expandedGroupId * Fix row navigation * fix border styles * Use a single array * Cleanup groupBy columns logic * Link TS issue * Add icon prop to ToggleGroupedFormatter * Cell drag is not supported on a treegrid * Add caret icon * Center align * -moz-middle-with-baseline; * Update changelog * Update src/utils/columnUtils.ts Co-authored-by: Nicolas Stepien <[email protected]> * Address comments * Use the suggested sorting logic * Do not mutate formatterOptions * Make group cell clickable * Mock less files for tests * Inline getVerticalRangeToRender * Update src/DataGrid.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update src/DataGrid.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update src/formatters/ToggleGroupFormatter.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update src/formatters/ToggleGroupFormatter.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Revert jest changes * Cleanup parameters * add grouprow.less * Add a comment * Update src/GroupCell.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update stories/demos/Grouping.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update stories/demos/Grouping.tsx Co-authored-by: Nicolas Stepien <[email protected]> * Update style/index.less Co-authored-by: Nicolas Stepien <[email protected]> * Do not extract all the props * Do not extract focus and keydown Co-authored-by: Nicolas Stepien <[email protected]> Co-authored-by: Nicolas Stepien <[email protected]>
- Loading branch information