@onehat/ui 0.3.212 → 0.3.213
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/package.json
CHANGED
|
@@ -123,6 +123,7 @@ function GridComponent(props) {
|
|
|
123
123
|
verifyCanEdit,
|
|
124
124
|
alternateRowBackgrounds = true,
|
|
125
125
|
alternatingInterval = 2,
|
|
126
|
+
defaultRowHeight = 48,
|
|
126
127
|
|
|
127
128
|
// withComponent
|
|
128
129
|
self,
|
|
@@ -698,8 +699,7 @@ function GridComponent(props) {
|
|
|
698
699
|
headerHeight = showHeaders ? 50 : 0,
|
|
699
700
|
footerHeight = !disablePagination ? 50 : 0,
|
|
700
701
|
height = containerHeight - headerHeight - footerHeight,
|
|
701
|
-
|
|
702
|
-
rowsPerContainer = Math.floor(height / rowHeight);
|
|
702
|
+
rowsPerContainer = Math.floor(height / defaultRowHeight);
|
|
703
703
|
let pageSize = rowsPerContainer;
|
|
704
704
|
if (showHeaders) {
|
|
705
705
|
pageSize--;
|