@syook/react-tabulous 2.8.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/package.json +1 -1
- package/lib/.DS_Store +0 -0
- package/lib/react-tabulous.min.js +0 -31
package/README.md
CHANGED
|
@@ -29,6 +29,9 @@ The files will be under `./lib` folder.
|
|
|
29
29
|
| `isFilterable` | is column filterable | Boolean | false | |
|
|
30
30
|
| `omitInHideList` | should the column be omitted in table and show/hide dropdown | Boolean | false | |
|
|
31
31
|
| `options` | array of options if the type is MultiSelect or Single Select | Array | false | [] |
|
|
32
|
+
| `isResizable` | is column resizable | Boolean | false | false |
|
|
33
|
+
| `fixed` | String='left' or 'right', where to fix the column | String | false | null |
|
|
34
|
+
| `defaultWidth` | to fix column width to a value in pixels if width exceeding this threshold | Number | false | null |
|
|
32
35
|
|
|
33
36
|
### b. Action Config Options : actions will be shown in action column in table
|
|
34
37
|
|
|
@@ -76,6 +79,8 @@ The files will be under `./lib` folder.
|
|
|
76
79
|
| `isAllowDeepSearch` | allow a deep search in the data for the searched keyword | false | false | boolean |
|
|
77
80
|
| `emptyCellPlaceHolder` | placeholder for empty cells | | false | string |
|
|
78
81
|
| `accentColor` | colors for top bar buttons | | false | string |
|
|
82
|
+
| `hideBulkCount` | hide bulk select count for bulk actions | false | false | boolean |
|
|
83
|
+
| `showResetButton` | display reset button | true | false | boolean |
|
|
79
84
|
|
|
80
85
|
## Example
|
|
81
86
|
|
|
@@ -167,6 +172,8 @@ columnDefs = [
|
|
|
167
172
|
isSortable: true,
|
|
168
173
|
isSearchable: false,
|
|
169
174
|
isFilterable: true,
|
|
175
|
+
fixed: 'left',
|
|
176
|
+
defaultWidth: 100,
|
|
170
177
|
},
|
|
171
178
|
{
|
|
172
179
|
headerName: 'Started at',
|
|
@@ -177,6 +184,7 @@ columnDefs = [
|
|
|
177
184
|
isSearchable: false,
|
|
178
185
|
isFilterable: true,
|
|
179
186
|
isResizable: true,
|
|
187
|
+
defaultWidth: 200,
|
|
180
188
|
},
|
|
181
189
|
];
|
|
182
190
|
|
|
@@ -225,7 +233,8 @@ customComponents = () => (
|
|
|
225
233
|
name={'Table Name'}
|
|
226
234
|
columnDefs={this.columnDefs}
|
|
227
235
|
isShowSerialNumber={true}
|
|
228
|
-
isAllowDeepSearch={true}
|
|
236
|
+
isAllowDeepSearch={true}
|
|
237
|
+
showResetButton={true}>
|
|
229
238
|
{this.customComponents}
|
|
230
239
|
</ReactTabulous>
|
|
231
240
|
|
package/package.json
CHANGED
package/lib/.DS_Store
DELETED
|
Binary file
|