|
1 |
| -[](https://travis-ci.org/jbetancur/react-data-table-component) [](https://badge.fury.io/js/react-data-table-component) [](https://codecov.io/gh/jbetancur/react-data-table-component) [](https://jbetancur.github.io/react-data-table-component) |
| 1 | +[]( ) [](https://badge.fury.io/js/react-data-table-component) [](https://codecov.io/gh/jbetancur/react-data-table-component) [](https://jbetancur.github.io/react-data-table-component) |
2 | 2 |
|
3 | 3 | <!-- TOC -->
|
4 | 4 |
|
5 | 5 | - [React Data Table Component](#react-data-table-component)
|
6 |
| - - [Demo and Examples](#demo-and-examples) |
7 |
| - - [Key Features](#key-features) |
8 |
| - - [Requirements](#requirements) |
9 |
| - - [Installation](#installation) |
10 |
| - - [Logging Issues and Contributions](#logging-issues-and-contributions) |
11 |
| - - [API and Usage](#api-and-usage) |
12 |
| - - [Columns](#columns) |
13 |
| - - [column.hide media presets](#columnhide-media-presets) |
14 |
| - - [DataTable Properties](#datatable-properties) |
15 |
| - - [Basic](#basic) |
16 |
| - - [Row Selection](#row-selection) |
17 |
| - - [Row Expander](#row-expander) |
18 |
| - - [Sorting](#sorting) |
19 |
| - - [Pagination](#pagination) |
20 |
| - - [Header](#header) |
21 |
| - - [Header Context Menu when using Selectable Rows](#header-context-menu-when-using-selectable-rows) |
22 |
| - - [Progress Indicator](#progress-indicator) |
23 |
| - - [Theming and Customization](#theming-and-customization) |
24 |
| - - [Dark Mode Theme](#dark-mode-theme) |
25 |
| - - [Defining Your Own Theme Using `createTheme`](#defining-your-own-theme-using-createtheme) |
26 |
| - - [Overidding Styling using css-in-js](#overidding-styling-using-css-in-js) |
27 |
| - - [Conditional Row Styling](#conditional-row-styling) |
28 |
| - - [Example](#example) |
29 |
| - - [Conditional Style Object](#conditional-style-object) |
30 |
| - - [Basic Table](#basic-table) |
31 |
| - - [Selectable Rows](#selectable-rows) |
32 |
| - - [Clearing Selected Rows](#clearing-selected-rows) |
33 |
| - - [Overriding with Ui Component Library](#overriding-with-ui-component-library) |
34 |
| - - [Using Custom Checkboxes and Indeterminate State](#using-custom-checkboxes-and-indeterminate-state) |
35 |
| - - [Custom Cells](#custom-cells) |
36 |
| - - [Expandable Rows](#expandable-rows) |
37 |
| - - [UI Library Integration](#ui-library-integration) |
38 |
| - - [Optimizing for Performance and Caveats](#optimizing-for-performance-and-caveats) |
39 |
| - - [Passing non-primitive props (objects, arrays and functions)](#passing-non-primitive-props-objects-arrays-and-functions) |
40 |
| - - [Optimizing Class Components](#optimizing-class-components) |
41 |
| - - [Examples of Optimizations](#examples-of-optimizations) |
42 |
| - - [Optimizing Functional Components](#optimizing-functional-components) |
43 |
| - - [CSS Overrides](#css-overrides) |
| 6 | + - [Demo and Examples](#demo-and-examples) |
| 7 | + - [Key Features](#key-features) |
| 8 | + - [Requirements](#requirements) |
| 9 | + - [Installation](#installation) |
| 10 | + - [Logging Issues and Contributions](#logging-issues-and-contributions) |
| 11 | + - [API and Usage](#api-and-usage) |
| 12 | + - [Columns](#columns) |
| 13 | + - [column.hide media presets](#columnhide-media-presets) |
| 14 | + - [DataTable Properties](#datatable-properties) |
| 15 | + - [Basic](#basic) |
| 16 | + - [Row Selection](#row-selection) |
| 17 | + - [Row Expander](#row-expander) |
| 18 | + - [Sorting](#sorting) |
| 19 | + - [Pagination](#pagination) |
| 20 | + - [Header](#header) |
| 21 | + - [Header Context Menu when using Selectable Rows](#header-context-menu-when-using-selectable-rows) |
| 22 | + - [Progress Indicator](#progress-indicator) |
| 23 | + - [Theming and Customization](#theming-and-customization) |
| 24 | + - [Dark Mode Theme](#dark-mode-theme) |
| 25 | + - [Defining Your Own Theme Using `createTheme`](#defining-your-own-theme-using-createtheme) |
| 26 | + - [Overidding Styling using css-in-js](#overidding-styling-using-css-in-js) |
| 27 | + - [Conditional Row Styling](#conditional-row-styling) |
| 28 | + - [Example](#example) |
| 29 | + - [Conditional Style Object](#conditional-style-object) |
| 30 | + - [Basic Table](#basic-table) |
| 31 | + - [Selectable Rows](#selectable-rows) |
| 32 | + - [Clearing Selected Rows](#clearing-selected-rows) |
| 33 | + - [Overriding with Ui Component Library](#overriding-with-ui-component-library) |
| 34 | + - [Using Custom Checkboxes and Indeterminate State](#using-custom-checkboxes-and-indeterminate-state) |
| 35 | + - [Custom Cells](#custom-cells) |
| 36 | + - [Expandable Rows](#expandable-rows) |
| 37 | + - [UI Library Integration](#ui-library-integration) |
| 38 | + - [Optimizing for Performance and Caveats](#optimizing-for-performance-and-caveats) |
| 39 | + - [Passing non-primitive props (objects, arrays and functions)](#passing-non-primitive-props-objects-arrays-and-functions) |
| 40 | + - [Optimizing Class Components](#optimizing-class-components) |
| 41 | + - [Examples of Optimizations](#examples-of-optimizations) |
| 42 | + - [Optimizing Functional Components](#optimizing-functional-components) |
| 43 | + - [CSS Overrides](#css-overrides) |
44 | 44 | - [Development](#development)
|
45 |
| - - [Setup](#setup) |
46 |
| - - [Local development](#local-development) |
47 |
| - - [Including NPM packages](#including-npm-packages) |
48 |
| - - [Library dependencies -- <root_dir>/package.**json](#library-dependencies----root_dirpackagejson) |
49 |
| - - [Storybook dependencies -- <root_dir>/stories/package.json](#storybook-dependencies----root_dirstoriespackagejson) |
50 |
| - - [Lint](#lint) |
51 |
| - - [Test](#test) |
52 |
| - - [Build](#build) |
| 45 | + - [Setup](#setup) |
| 46 | + - [Local development](#local-development) |
| 47 | + - [Including NPM packages](#including-npm-packages) |
| 48 | + - [Library dependencies -- <root_dir>/package.**json](#library-dependencies----root_dirpackagejson) |
| 49 | + - [Storybook dependencies -- <root_dir>/stories/package.json](#storybook-dependencies----root_dirstoriespackagejson) |
| 50 | + - [Lint](#lint) |
| 51 | + - [Test](#test) |
| 52 | + - [Build](#build) |
53 | 53 | - [Contributors](#contributors)
|
54 | 54 |
|
55 | 55 | <!-- /TOC -->
|
@@ -250,7 +250,7 @@ When the breakpoint is reached the column will be hidden. These are the built-in
|
250 | 250 | |--------------------------|---------------------|----------|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
251 | 251 | | contextMessage | object | no | `{ singular: 'item', plural: 'items', message: 'selected' }` | override the context menu selected message when using `selectableRows` |
|
252 | 252 | | contextActions | component or array of components| no | | add context actions to the context menu when using `selectableRows` |
|
253 |
| -| contextComponent | bool | no | false | Overide the default context menu when using `selectableRows` with your own custom componet. RDT will compose the `selectedCount` prop to your custom component. This will negate `contextMessage` and `contextActions` | |
| 253 | +| contextComponent | component | no | null | Overide the default context menu when using `selectableRows` with your own custom componet. RDT will compose the `selectedCount` prop to your custom component. This will negate `contextMessage` and `contextActions` | |
254 | 254 | | noContextMenu | bool | no | false | Do not display the context menu when using `selectableRows` |
|
255 | 255 |
|
256 | 256 | #### Progress Indicator
|
|
0 commit comments