Hi
I have seen others post this same issue, so I have taken time to narrow down as much as I can the observed behaviour.
Using igniteUI 2014.1
we have a grid with the following definition:
$(element).igHierarchicalGrid({ virtualization: true, virtualizationMode: 'continuous', height: constants.defaultGridHeight, width: constants.defaultGridWidth, columns: columnSrv.Columns(), primaryKey: 'id', features: [ { name: 'Sorting', type: 'remote', mode: 'multiple', modalDialogHeight: constants.defaultSortingDialogHeight, }, { name: 'Paging', type: 'remote', pageSize: constants.defaultGridPageSize, pageSizeList: [50, 100, 200, 500, 1000, 2000] }, { name: "Hiding", columnSettings: columnSrv.columnSettings(), columnChooserHeight: constants.defaultColumnChooserHeight,
}, { name: 'Selection', mode: 'row', mouseDragSelect: false,
}, { name: "Resizing", deferredResizing: false, allowDoubleClickToResize: true, columnSettings: columnSrv.resizingColumnSettings(), }, { name: "Filtering", type: "remote", mode: "advanced", filterDialogContainment: "window" } ], autoGenerateColumns: false, dataSource: scope.vm.dataSource, autoGenerateLayouts: false });
in the following
The following is with
if I disable all features the row height is correct.
If I enable only sorting
If I enable only paging
If I enable only Hiding
If I enable only Selection
If I enable only Resizing
If I enable only Filtering
If I remove virtualization, the row height is correct regardless of features.
So the row height is being adjusted when virtualization is active and we use paging and/or sorting.
if I change the grid width/height to px/% units makes no different to this issue. Just to note, if I change height to be a % unit rather then px a different issue arises which I will document in an other post.
Regards
Aidan
I would appreciate a reply on this
Hello Aidan,
Thank you for posting in our community.
I've made a sample based on your code in order to test the behavior that you're describing. However I didn't notice any row height changes when using the enabled features.
You should be aware of some known issues when virtualization is enabled, explained in the following documentation:
http://help.infragistics.com/Doc/jQuery/2013.1/CLR4.0/?page=igGrid_Known_Issues.html
Please take a look at the link above and let me know if the issue that you're facing could be related to the igGrid known issues.
At the meantime I'm attaching the sample that I've used to experiment with, for your reference.
If I can provide further assistance, feel free to contact me.
Sincerely,
Tsanna