Page 2 of 2
Re: disable column resizing
Posted: Wed Jun 13, 2018 7:05 am
by Timo
admin wrote:Timo,
Code: Select all
function nuOnLoad(){
$('#nubody').off('.nuresizecolumn');
nuOnLoad = null;
}
Steven
This doesn't work for me. There's also a nuOnLoad in the header that is not called anymore when I use your code.
Re: disable column resizing
Posted: Thu Jun 14, 2018 12:49 am
by admin
Timo,
If you already have an nuOnLoad() then put it inside the main one you have already got in an if statement that will only run it on the Forms you want it to run on.
Code: Select all
function nuOnLoad(){
if(nuCurrentProperties().form_id == 'whatever'){
$('#nubody').off('.nuresizecolumn');
}
}
Steven
Re: disable column resizing
Posted: Mon Jul 09, 2018 4:13 pm
by toms
Timo,
This is my solution to disable column resizing that works also on mobile devices and the cursor will not change to ew-resize when hovering over a header title.
Code: Select all
if (nuFormType() == 'browse') {
$(document).ready(function() {
disableBrowseResize();
});
}
function disableBrowseResize() {
$("div[id^='nuBrowseTitle']")
.off('mousedown.nuresizecolumn')
.off('touchstart.nuresizecolumn')
.off('touchmove.nuresizecolumn')
.off('touchstart.nuresizecolumn');
};
Re: disable column resizing
Posted: Fri Jul 13, 2018 4:57 am
by Timo
toms wrote:Timo,
This is my solution to disable column resizing that works also on mobile devices and the cursor will not change to ew-resize when hovering over a header title.
Many thanks, this works great

Re: disable column resizing
Posted: Sat Jul 14, 2018 12:21 am
by admin
.