forked from gregnb/mui-datatables
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Serverside sorting example (gregnb#986)
* Add Example: ServerSide Sorting * Add Example: ServerSide Sorting * Add Example: ServerSide Sorting * fix missing props
- Loading branch information
1 parent
8be1f05
commit 5644b9a
Showing
4 changed files
with
730 additions
and
74 deletions.
There are no files selected for viewing
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,68 +1,70 @@ | ||
import ArrayValueColumns from "./array-value-columns"; | ||
import ColumnFilters from "./column-filters"; | ||
import ColumnOptionsUpdate from "./column-options-update"; | ||
import Component from "./component"; | ||
import CSVExport from "./csv-export"; | ||
import CustomActionColumns from "./custom-action-columns"; | ||
import CustomizeColumns from "./customize-columns"; | ||
import CustomizeFilter from "./customize-filter"; | ||
import CustomizeFooter from "./customize-footer"; | ||
import CustomizeRows from "./customize-rows"; | ||
import CustomizeSearch from "./customize-search"; | ||
import CustomizeSearchRender from "./customize-search-render"; | ||
import CustomizeSorting from "./customize-sorting"; | ||
import CustomizeStyling from "./customize-styling"; | ||
import CustomizeToolbar from "./customize-toolbar"; | ||
import CustomizeToolbarSelect from "./customize-toolbarselect"; | ||
import DataAsObjects from "./data-as-objects"; | ||
import ExpandableRows from "./expandable-rows"; | ||
import FixedHeader from "./fixed-header"; | ||
import HideColumnsPrint from "./hide-columns-print"; | ||
import OnDownload from "./on-download"; | ||
import OnTableInit from "./on-table-init"; | ||
import ResizableColumns from "./resizable-columns"; | ||
import SelectableRows from "./selectable-rows"; | ||
import ServerSideFilters from "./serverside-filters"; | ||
import ServerSideOptions from "./serverside-options"; | ||
import ServerSidePagination from "./serverside-pagination"; | ||
import Simple from "./simple"; | ||
import SimpleNoToolbar from "./simple-no-toolbar"; | ||
import TextLocalization from "./text-localization"; | ||
import Themes from "./themes"; | ||
import ArrayValueColumns from './array-value-columns'; | ||
import ColumnFilters from './column-filters'; | ||
import ColumnOptionsUpdate from './column-options-update'; | ||
import Component from './component'; | ||
import CSVExport from './csv-export'; | ||
import CustomActionColumns from './custom-action-columns'; | ||
import CustomizeColumns from './customize-columns'; | ||
import CustomizeFilter from './customize-filter'; | ||
import CustomizeFooter from './customize-footer'; | ||
import CustomizeRows from './customize-rows'; | ||
import CustomizeSearch from './customize-search'; | ||
import CustomizeSearchRender from './customize-search-render'; | ||
import CustomizeSorting from './customize-sorting'; | ||
import CustomizeStyling from './customize-styling'; | ||
import CustomizeToolbar from './customize-toolbar'; | ||
import CustomizeToolbarSelect from './customize-toolbarselect'; | ||
import DataAsObjects from './data-as-objects'; | ||
import ExpandableRows from './expandable-rows'; | ||
import FixedHeader from './fixed-header'; | ||
import HideColumnsPrint from './hide-columns-print'; | ||
import OnDownload from './on-download'; | ||
import OnTableInit from './on-table-init'; | ||
import ResizableColumns from './resizable-columns'; | ||
import SelectableRows from './selectable-rows'; | ||
import ServerSideFilters from './serverside-filters'; | ||
import ServerSideOptions from './serverside-options'; | ||
import ServerSidePagination from './serverside-pagination'; | ||
import ServerSideSorting from './serverside-sorting'; | ||
import Simple from './simple'; | ||
import SimpleNoToolbar from './simple-no-toolbar'; | ||
import TextLocalization from './text-localization'; | ||
import Themes from './themes'; | ||
|
||
/** | ||
* Here you can add any extra examples with the Card label as the key, and the component to render as the value | ||
*/ | ||
export default { | ||
'Array Value Columns': ArrayValueColumns, | ||
'Column Filters': ColumnFilters, | ||
'Column Option Update': ColumnOptionsUpdate, | ||
'Component': Component, | ||
'CSV Export': CSVExport, | ||
'Custom Action Columns': CustomActionColumns, | ||
'Customize Columns': CustomizeColumns, | ||
'Customize Filter': CustomizeFilter, | ||
'Customize Footer': CustomizeFooter, | ||
'Customize Rows': CustomizeRows, | ||
'Customize Search': CustomizeSearch, | ||
'Customize Search Render': CustomizeSearchRender, | ||
'Customize Sorting': CustomizeSorting, | ||
'Customize Styling': CustomizeStyling, | ||
'Customize Toolbar': CustomizeToolbar, | ||
'Customize Toolbar Select': CustomizeToolbarSelect, | ||
'Data As Objects': DataAsObjects, | ||
'Expandable Rows': ExpandableRows, | ||
'Fixed Header': FixedHeader, | ||
'Hide Columns Print': HideColumnsPrint, | ||
'OnDownload': OnDownload, | ||
'OnTableInit': OnTableInit, | ||
'Resizable Columns': ResizableColumns, | ||
'Selectable Rows': SelectableRows, | ||
'ServerSide Filters': ServerSideFilters, | ||
'ServerSide Options': ServerSideOptions, | ||
'ServerSide Pagination': ServerSidePagination, | ||
'Simple': Simple, | ||
'Simple No Toolbar': SimpleNoToolbar, | ||
'Text Localization': TextLocalization, | ||
'Themes': Themes, | ||
'Array Value Columns': ArrayValueColumns, | ||
'Column Filters': ColumnFilters, | ||
'Column Option Update': ColumnOptionsUpdate, | ||
Component: Component, | ||
'CSV Export': CSVExport, | ||
'Custom Action Columns': CustomActionColumns, | ||
'Customize Columns': CustomizeColumns, | ||
'Customize Filter': CustomizeFilter, | ||
'Customize Footer': CustomizeFooter, | ||
'Customize Rows': CustomizeRows, | ||
'Customize Search': CustomizeSearch, | ||
'Customize Search Render': CustomizeSearchRender, | ||
'Customize Sorting': CustomizeSorting, | ||
'Customize Styling': CustomizeStyling, | ||
'Customize Toolbar': CustomizeToolbar, | ||
'Customize Toolbar Select': CustomizeToolbarSelect, | ||
'Data As Objects': DataAsObjects, | ||
'Expandable Rows': ExpandableRows, | ||
'Fixed Header': FixedHeader, | ||
'Hide Columns Print': HideColumnsPrint, | ||
OnDownload: OnDownload, | ||
OnTableInit: OnTableInit, | ||
'Resizable Columns': ResizableColumns, | ||
'Selectable Rows': SelectableRows, | ||
'ServerSide Filters': ServerSideFilters, | ||
'ServerSide Options': ServerSideOptions, | ||
'ServerSide Pagination': ServerSidePagination, | ||
'ServerSide Sorting': ServerSideSorting, | ||
Simple: Simple, | ||
'Simple No Toolbar': SimpleNoToolbar, | ||
'Text Localization': TextLocalization, | ||
Themes: Themes, | ||
}; |
Oops, something went wrong.