Hello,
I've used the resizeToFit() function to re-size my columns in the following function:
function pageLoad() {
var grid = $find('<%= RadGrid2.ClientID %>');
var master = grid.get_masterTableView();
var columns = master.get_columns();
for (var i = 0; i < columns.length; i++) {
columns[i].resizeToFit();
}
}
Which works very well - however after the re-size I'm left with a ton of white space to the right of my newly sized columns. I know this is cause in part by having static headers however I need to keep the static headers.
So is there a work around to keep the static headers and still re-size the RadGrid to fit the new column size?