|
Title: hideColumn / showColumn Post by: rezzonico on September 02, 2016, 04:08:45 AM Hi all,
I have found the following example in order to hide/show a column. http://jsfiddle.net/xz955jLe/144/ It works without problem. Now I have changed the line: {field:'ck', checkbox:true, hidden: false}, with this line: {field:'ck', checkbox:true, hidden: true}, Please try the following link: http://195.144.40.170/jeasyui/NNN/index.html and hit "hide Column" / "show Column" many times. As you can see the right column moves to the left. Any help to solve this problem is appreciated. Regards. Miche Title: Re: hideColumn / showColumn Post by: stworthy on September 02, 2016, 06:41:14 PM You need to call 'resizeFilter' method after calling 'showColumn' or 'hideColumn' methods.
Code: $('#dg').datagrid('hideColumn','ck');Title: Re: hideColumn / showColumn Post by: rezzonico on September 05, 2016, 12:48:42 AM Thanks a lot !
Regards Miche |