-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(DataTableControls): add number of hidden columns
- Loading branch information
Showing
41 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
Binary file modified
BIN
+437 Bytes
(110%)
...s/expected/components_Datatable_internalComponents_BatchModule_With Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+742 Bytes
(100%)
...tatable_internalComponents_ControlsModule_ColumnsControls_With Custom Order.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+808 Bytes
(110%)
...omponents_Datatable_internalComponents_ControlsModule_ControlButton_Default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+307 Bytes
(100%)
...components_Datatable_internalComponents_ControlsModule_With Applied Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+307 Bytes
(100%)
...mponents_Datatable_internalComponents_ControlsModule_With Applied Filtering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+528 Bytes
(110%)
...ponents_Datatable_internalComponents_ControlsModule_With Disabled Filtering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+367 Bytes
(110%)
...components_Datatable_internalComponents_ControlsModule_With Disabled Search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1022 Bytes
(100%)
...ed/components_Datatable_internalComponents_ControlsModule_With Open Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+249 Bytes
(100%)
.../components_Datatable_internalComponents_ControlsModule_With Open Filtering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+287 Bytes
(100%)
...s/expected/components_Datatable_internalComponents_Datatable_Minimal Config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.25 KB
(110%)
...d/components_Datatable_internalComponents_Datatable_With All Columns Hidden.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+287 Bytes
(100%)
...cted/components_Datatable_internalComponents_Datatable_With Applied Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+287 Bytes
(100%)
...ed/components_Datatable_internalComponents_Datatable_With Applied Filtering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+294 Bytes
(100%)
...pected/components_Datatable_internalComponents_Datatable_With Batch Actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+246 Bytes
(100%)
...s_Datatable_internalComponents_Datatable_With Custom Placeholder For Search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+302 Bytes
(100%)
...omponents_Datatable_internalComponents_Datatable_With Disabled Batch Module.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+1.05 KB
(100%)
...able_internalComponents_Datatable_With Disabled Controls And Active Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+414 Bytes
(100%)
...ble_internalComponents_Datatable_With Disabled Controls And Applied Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+416 Bytes
(100%)
...ed/components_Datatable_internalComponents_Datatable_With Disabled Controls.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+465 Bytes
(100%)
...d/components_Datatable_internalComponents_Datatable_With Disabled Filtering.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+320 Bytes
(100%)
...cted/components_Datatable_internalComponents_Datatable_With Disabled Search.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+291 Bytes
(100%)
...d/components_Datatable_internalComponents_Datatable_With Disabled Selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+336 Bytes
(100%)
...ots/expected/components_Datatable_internalComponents_Datatable_With No Data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+305 Bytes
(100%)
...ted/components_Datatable_internalComponents_Datatable_With No Matching Data.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+994 Bytes
(100%)
...onents_Datatable_internalComponents_Datatable_With Open And Applied Columns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+321 Bytes
(100%)
...ents_Datatable_internalComponents_Datatable_With Open And Applied Filtering.png
Oops, something went wrong.
Binary file modified
BIN
+994 Bytes
(100%)
...xpected/components_Datatable_internalComponents_Datatable_With Open Columns.png
Oops, something went wrong.
Binary file modified
BIN
+296 Bytes
(100%)
...ected/components_Datatable_internalComponents_Datatable_With Open Filtering.png
Oops, something went wrong.
Binary file modified
BIN
+287 Bytes
(100%)
...cted/components_Datatable_internalComponents_Datatable_With Persisted State.png
Oops, something went wrong.
Binary file modified
BIN
+300 Bytes
(100%)
...tatable_internalComponents_Datatable_With Selected Rows And Exclusion Logic.png
Oops, something went wrong.
Binary file modified
BIN
+299 Bytes
(100%)
...pected/components_Datatable_internalComponents_Datatable_With Selected Rows.png
Oops, something went wrong.
Binary file modified
BIN
+291 Bytes
(100%)
...expected/components_Datatable_internalComponents_Datatable_With Single Page.png
Oops, something went wrong.
Binary file modified
BIN
+283 Bytes
(100%)
...tatable_internalComponents_Datatable_With Single Selection And Selected Row.png
Oops, something went wrong.
Binary file modified
BIN
+289 Bytes
(100%)
...ted/components_Datatable_internalComponents_Datatable_With Single Selection.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/components/Datatable/components/ColumnsControls/ColumnsControls.types.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
interface RenderProps { | ||
hiddenColumns: number; | ||
} | ||
|
||
export interface ColumnsControlsProps { | ||
isOpen?: boolean; | ||
onOpen: () => void; | ||
onClose: () => void; | ||
onApply: (shouldApply: boolean) => void; | ||
onReset?: () => void; | ||
children: React.ReactNode | ((obj: RenderProps) => React.ReactNode); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters