Grid, Expand to Layout column sizing
Posted: Fri May 05, 2017 10:19 am
Is there any way to design a subfile grid so that when expands horizontally then only the right most column expands while the others remain fixed size?
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:
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();
}