Skip to content

Commit

Permalink
Serverside sorting example (gregnb#986)
Browse files Browse the repository at this point in the history
* Add Example: ServerSide Sorting

* Add Example: ServerSide Sorting

* Add Example: ServerSide Sorting

* fix missing props
  • Loading branch information
danielbyun authored and lalong13 committed Jan 15, 2020
1 parent 8be1f05 commit 5644b9a
Show file tree
Hide file tree
Showing 4 changed files with 730 additions and 74 deletions.
126 changes: 64 additions & 62 deletions examples/examples.js
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,
};
Loading

0 comments on commit 5644b9a

Please sign in to comment.