Hi Team,
we have a requirement to zoom in and out the grid based on the user entered % value.
In Zoom in and out behaviour, we have to increase the font-size and column width of all the cells in grid. We tried to reset the same in col model and refresh the grid. Its reflecting but when we scroll or type anything in the filter, the grid resets itself back to normal position.
var colM = $("#"+gridId).pqGrid( "option", "colModel" );
for(var i = 0;i<colM.length;i++){
var colActualWidth = arrGridCol.width * strZommVal;
colM.width = colActualWidth;
colM.minWidth = colActualWidth;
colM.cls = "cls-zoom"
}
$("#"+gridId).pqGrid( "option", "colModel", colM );
$("#"+gridId).pqGrid("refresh");
also if any class is applied on the grid columns is getting disappaered.