Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
140
Grid Resizing with Virtualization
posted

Hello -

I have found that it is not possible to dynamically set the width of an igGrid when Virtualization is set to True.

I need to reset the Width of the Grid when the Window is re-sized.

Destroying and recreating the Grid is not an option for me as it will require a lot of Data Usage, and it just isn't right to have to reload the Grid every time its size is changed.

Here is a code sample that sets up my Grid:

var width = $('#gridDiv').width();

$('#gridScheduling').igHierarchicalGrid({

odata: true,

dataSource: clientDS,
initialDataBindDepth: 0,
width: width,
height: '500px',
virtualization:true,
virtualizationMode: 'continuous',

...

...

};

Any thoughts, comments or work around would be greatly appreciated.

Thank You,

Dominick Ciccone