|
| 1 | +<a name="1.0.0-alpha.8"></a> |
| 2 | +# [1.0.0-alpha.8](https://github.com/DevExpress/devextreme-reactive/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2017-08-21) |
| 3 | + |
| 4 | + |
| 5 | +### Bug Fixes |
| 6 | + |
| 7 | +* **react-grid:** correct pager rendering within an empty grid ([#251](https://github.com/DevExpress/devextreme-reactive/issues/251)) ([eb13a8b](https://github.com/DevExpress/devextreme-reactive/commit/eb13a8b)) |
| 8 | +* **react-grid:** get rid of the exception thrown on a column ungrouping by drag and drop ([#260](https://github.com/DevExpress/devextreme-reactive/issues/260)) ([8fc2990](https://github.com/DevExpress/devextreme-reactive/commit/8fc2990)) |
| 9 | +* **react-grid:** preserve group panel height when no grouping is specified ([#261](https://github.com/DevExpress/devextreme-reactive/issues/261)) ([9116e92](https://github.com/DevExpress/devextreme-reactive/commit/9116e92)) |
| 10 | + |
| 11 | + |
| 12 | +### Code Refactoring |
| 13 | + |
| 14 | +* **react-grid:** change TableRow and TableColumn interfaces structure ([#227](https://github.com/DevExpress/devextreme-reactive/issues/227)) ([5288a9f](https://github.com/DevExpress/devextreme-reactive/commit/5288a9f)) |
| 15 | +* **react-grid:** merge the setRowSelection and setRowsSelection actions ([#233](https://github.com/DevExpress/devextreme-reactive/issues/233)) ([876a2c6](https://github.com/DevExpress/devextreme-reactive/commit/876a2c6)) |
| 16 | +* **react-grid:** remove redundant getters from GroupingState ([#244](https://github.com/DevExpress/devextreme-reactive/issues/244)) ([1fb21ca](https://github.com/DevExpress/devextreme-reactive/commit/1fb21ca)) |
| 17 | +* **react-grid:** rename colspan to colSpan ([#248](https://github.com/DevExpress/devextreme-reactive/issues/248)) ([afc69e9](https://github.com/DevExpress/devextreme-reactive/commit/afc69e9)) |
| 18 | +* **react-grid:** wrap group panel column data ([#267](https://github.com/DevExpress/devextreme-reactive/issues/267)) ([156392b](https://github.com/DevExpress/devextreme-reactive/commit/156392b)) |
| 19 | + |
| 20 | + |
| 21 | +### Features |
| 22 | + |
| 23 | +* **react-core:** rework Getter ([#259](https://github.com/DevExpress/devextreme-reactive/issues/259)) ([4fd5f9b](https://github.com/DevExpress/devextreme-reactive/commit/4fd5f9b)) |
| 24 | +* **react-grid:** adopt PluginContainer dependencies in Grid plugins ([#249](https://github.com/DevExpress/devextreme-reactive/issues/249)) ([016f618](https://github.com/DevExpress/devextreme-reactive/commit/016f618)) |
| 25 | +* **react-grid:** provide the custom data accessors capability ([#264](https://github.com/DevExpress/devextreme-reactive/issues/264)) ([5f699bf](https://github.com/DevExpress/devextreme-reactive/commit/5f699bf)), closes [#176](https://github.com/DevExpress/devextreme-reactive/issues/176) |
| 26 | + |
| 27 | + |
| 28 | +### Performance Improvements |
| 29 | + |
| 30 | +* **react-grid:** optimize plugin dependencies check ([#253](https://github.com/DevExpress/devextreme-reactive/issues/253)) ([640c124](https://github.com/DevExpress/devextreme-reactive/commit/640c124)) |
| 31 | + |
| 32 | + |
| 33 | +### BREAKING CHANGES |
| 34 | + |
| 35 | +* **react-grid:** |
| 36 | +The following changes have been made in the GroupingPanel plugin: |
| 37 | + - the `groupPanelCellTemplate` property has been renamed to `groupPanelItemTemplate`; |
| 38 | + - the `groupedColumns` property has been renamed to `groupingPanelItems` and now contains an array of objects which conform the GroupingPanelItem interface. |
| 39 | + |
| 40 | + The `isDraft` property of the DraftGrouping interface has been renamed to `draft`. |
| 41 | +* **react-grid:** |
| 42 | +In order to reduce API verbosity, the `groupedColumns` and `draftGroupedColumns` getters are no longer exported from the GroupingState plugin. |
| 43 | + |
| 44 | +The `column` field is no longer present in the GroupRow interface. So, to access the `column` field in groupCellTemplate and groupIndentCellTemplate of the TableGroupRow plugin, it is necessary to use `args.column` instead of `args.row.column`. |
| 45 | +* **react-grid:** The `colspan` field passed to tableNoDataCellTemplate (the TableView plugin), detailCellTemplate (the TableRowDetail plugin) and groupCellTemplate (the TableGroupRow plugin) has been renamed to `colSpan`. |
| 46 | +* **react-grid:** To simplify the Grid plugins API the `setRowSelection` action was removed from the `SelectionState` and `TableSelection` plugins. |
| 47 | + |
| 48 | + For now, to select a single row you can use the `setRowsSelection` action in the following manner: |
| 49 | + |
| 50 | + ```js |
| 51 | + setRowsSelection({ rowIds: [/* rowId */] }) |
| 52 | + ``` |
| 53 | +* **react-grid:** |
| 54 | +`TableRow` and `TableColumn` interfaces structure has been changed. Now, it wraps original rows and columns of the Grid component instead of patching it. |
| 55 | + |
| 56 | + Before: |
| 57 | + |
| 58 | + ```ts |
| 59 | + interface TableRow extends Row { |
| 60 | + type?: string; |
| 61 | + } |
| 62 | + interface TableColumn extends Column { |
| 63 | + type?: string; |
| 64 | + } |
| 65 | + ``` |
| 66 | + |
| 67 | + After: |
| 68 | + |
| 69 | + ```ts |
| 70 | + interface TableRow { |
| 71 | + key: string; |
| 72 | + type: string; |
| 73 | + rowId?: number | string; |
| 74 | + row?: Row; |
| 75 | + height?: number; |
| 76 | + } |
| 77 | + interface TableColumn { |
| 78 | + key: string; |
| 79 | + type: string; |
| 80 | + column?: Column; |
| 81 | + width?: number; |
| 82 | + } |
| 83 | + ``` |
| 84 | + |
| 85 | + |
| 86 | + The `CommandHeadingCellArgs` interface related to the TableEditColumn plugin no longer has `column` and `row` fields. |
| 87 | + |
| 88 | + |
| 89 | + |
1 | 90 | <a name="1.0.0-alpha.7"></a> |
2 | 91 | # [1.0.0-alpha.7](https://github.com/DevExpress/devextreme-reactive/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2017-08-07) |
3 | 92 |
|
|
0 commit comments