Page 1 of 2
disable column resizing
Posted: Wed May 23, 2018 4:40 pm
by Timo
How to disable column resizing of a browse form? It's embedded as iframe. (Run Object, iFrame Method)
Re: disable column resizing
Posted: Wed May 23, 2018 5:38 pm
by admin
Timo,
I don't understand what you mean.
Steven
Re: disable column resizing
Posted: Wed May 23, 2018 10:48 pm
by Timo
Columns of a Browse Form can be resized with the mouse.
This disables the resizing:
Code: Select all
$('#nubody').off('.nuresizecolumn');
How to disable itjust for a browse form that is in embedded in an iframe (Run Object, iFrame Method) ?
Re: disable column resizing
Posted: Sun May 27, 2018 10:13 pm
by admin
Timo,
You could place this in the Javascript section of your Form.
Code: Select all
function nuOnLoad(){
$('#nubody').off('.nuresizecolumn');
}
Steven
Re: disable column resizing
Posted: Mon May 28, 2018 9:57 am
by toms
nuOnLoad should only be placed in the Setup -> Header, otherwise it will be triggered for other forms as well.
https://forums.nubuilder.cloud/viewtopic. ... oad#p15379
Re: disable column resizing
Posted: Sat Jun 02, 2018 1:53 am
by admin
.
Re: disable column resizing
Posted: Mon Jun 04, 2018 8:23 am
by Timo
This does not work reliably and not at all on touch devices
Re: disable column resizing
Posted: Tue Jun 05, 2018 4:11 am
by admin
.
Re: disable column resizing
Posted: Tue Jun 05, 2018 7:50 pm
by toms
Please give me some time, I'm going to find a solution.
Re: disable column resizing
Posted: Wed Jun 13, 2018 4:30 am
by admin
Timo,
You can remove nuOnLoad() after it does everything you want it to do.
So that it will only run one anytime.
eg.
Code: Select all
function nuOnLoad(){
$('#nubody').off('.nuresizecolumn');
nuOnLoad = null;
}
Steven