Hello,
I have three radgirds in RadTabStrip (1 grid in 1 tab), I want to achive the resize to fit facility. so I have written following code with "AllowColumnResize='True' AllowRowResize='false' ResizeGridOnColumnResize='true' AllowResizeToFit='true'" property settings of grid.
var grdstQ = $find("<%= Grid1.ClientID %>");
var clmstQ = grdstQ.get_masterTableView().get_columns();
for (var i = 0; i < clmstQ.length; i++) {
clmstQ[i].resizeToFit(false, true);
}
I have applied the above code solution for all three grids, the first grid in tab working fine but columns in other two grids disappeared after apply the same solution.
Please suggest, I am not getting how to resolve this strange issue.
Thanks in advance.
Regards,
Vishal
I have three radgirds in RadTabStrip (1 grid in 1 tab), I want to achive the resize to fit facility. so I have written following code with "AllowColumnResize='True' AllowRowResize='false' ResizeGridOnColumnResize='true' AllowResizeToFit='true'" property settings of grid.
var grdstQ = $find("<%= Grid1.ClientID %>");
var clmstQ = grdstQ.get_masterTableView().get_columns();
for (var i = 0; i < clmstQ.length; i++) {
clmstQ[i].resizeToFit(false, true);
}
I have applied the above code solution for all three grids, the first grid in tab working fine but columns in other two grids disappeared after apply the same solution.
Please suggest, I am not getting how to resolve this strange issue.
Thanks in advance.
Regards,
Vishal