@syook/react-tabulous 2.8.3 → 3.0.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/CHANGELOG.md +4 -2
- package/LICENSE.md +1 -1
- package/README.md +10 -1
- package/lib/react-tabulous.min.js +2 -31
- package/lib/react-tabulous.min.js.LICENSE.txt +20 -0
- package/package.json +29 -40
package/CHANGELOG.md
CHANGED
|
@@ -9,8 +9,10 @@ Commit convention is based on [Conventional Commits](http://conventionalcommits.
|
|
|
9
9
|
Change log format is based on [Keep a Changelog](http://keepachangelog.com/).
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
|
|
13
|
+
-
|
|
14
|
+
|
|
15
|
+
## [Released]
|
|
14
16
|
|
|
15
17
|
## [2.7.7](https://github.com/syook/react-tabulous/releases/tag/2.7.7) - 2021-07-08
|
|
16
18
|
|
package/LICENSE.md
CHANGED
|
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
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
|
|
|
@@ -77,6 +80,8 @@ The files will be under `./lib` folder.
|
|
|
77
80
|
| `emptyCellPlaceHolder` | placeholder for empty cells | | false | string |
|
|
78
81
|
| `accentColor` | colors for top bar buttons | | false | string |
|
|
79
82
|
| `hideBulkCount` | hide bulk select count for bulk actions | false | false | boolean |
|
|
83
|
+
| `showResetButton` | display reset button | true | false | boolean |
|
|
84
|
+
| `hidePagination` | hide pagination | false | false | boolean |
|
|
80
85
|
|
|
81
86
|
## Example
|
|
82
87
|
|
|
@@ -168,6 +173,8 @@ columnDefs = [
|
|
|
168
173
|
isSortable: true,
|
|
169
174
|
isSearchable: false,
|
|
170
175
|
isFilterable: true,
|
|
176
|
+
fixed: 'left',
|
|
177
|
+
defaultWidth: 100,
|
|
171
178
|
},
|
|
172
179
|
{
|
|
173
180
|
headerName: 'Started at',
|
|
@@ -178,6 +185,7 @@ columnDefs = [
|
|
|
178
185
|
isSearchable: false,
|
|
179
186
|
isFilterable: true,
|
|
180
187
|
isResizable: true,
|
|
188
|
+
defaultWidth: 200,
|
|
181
189
|
},
|
|
182
190
|
];
|
|
183
191
|
|
|
@@ -226,7 +234,8 @@ customComponents = () => (
|
|
|
226
234
|
name={'Table Name'}
|
|
227
235
|
columnDefs={this.columnDefs}
|
|
228
236
|
isShowSerialNumber={true}
|
|
229
|
-
isAllowDeepSearch={true}
|
|
237
|
+
isAllowDeepSearch={true}
|
|
238
|
+
showResetButton={true}>
|
|
230
239
|
{this.customComponents}
|
|
231
240
|
</ReactTabulous>
|
|
232
241
|
|