Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
disable column resizing
disable column resizing
How to disable column resizing of a browse form? It's embedded as iframe. (Run Object, iFrame Method)
Re: disable column resizing
Columns of a Browse Form can be resized with the mouse.
This disables the resizing:
How to disable itjust for a browse form that is in embedded in an iframe (Run Object, iFrame Method) ?
This disables the resizing:
Code: Select all
$('#nubody').off('.nuresizecolumn');
Re: disable column resizing
Timo,
You could place this in the Javascript section of your Form.
Steven
You could place this in the Javascript section of your Form.
Code: Select all
function nuOnLoad(){
$('#nubody').off('.nuresizecolumn');
}
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: disable column resizing
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
https://forums.nubuilder.cloud/viewtopic. ... oad#p15379
-
- Posts: 785
- Joined: Sun Oct 14, 2018 11:25 am
Re: disable column resizing
Timo,
You can remove nuOnLoad() after it does everything you want it to do.
So that it will only run one anytime.
eg.
Steven
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;
}