I have my grid in a simple layout set to 100% width. When I expand the browser window then all of the columns resize proportionally but I only want the one column to grow. I tried using javascript to dynamically reset all of the column widths based on the with of the window or layout but it has no effect. Maybe I just don't know how to change a property that is an array?
In screen load:
Code: Select all
function setSFLSize() {
var puiw = document.getElementById("pui").offsetWidth;
var calcColWidth= puiw-917;
applyProperty('MyGridName','column widths', '22,27,141,54,97,55,53,54,54,53,54,55,39,38,42,42,' + calcColWidth);
}
setSFLSize();
window.onresize = function () {
setSFLSize();
}