EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 07:54:33 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
TreeGrid: hide/show frozen and normal columns
Pages: [
1
]
« previous
next »
Print
Author
Topic: TreeGrid: hide/show frozen and normal columns (Read 7465 times)
Sapphire
Newbie
Posts: 8
TreeGrid: hide/show frozen and normal columns
«
on:
October 16, 2015, 05:17:14 AM »
Hello,
i have a TreeGrid where i can show and hide the different columns (showColumn and hideColumn method).
This works without problems if i have show/hide only "normal" columns.
If i try to hide a frozen column the place where the column was is now empty.
Means the columns right from the hidden column are not moved left. After an additional (or 2)
$('#tg').treegrid('reload');
the right columns moved to the empty place from the hidden frozen column.
With only "normal" columns it works direct without an additional reload.
Regards, Saphir
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: TreeGrid: hide/show frozen and normal columns
«
Reply #1 on:
October 16, 2015, 05:38:49 PM »
Please try to call 'resize' method after calling the 'hideColumn' method.
Code:
$('#tg').treegrid('hideColumn',...);
$('#tg').treegrid('resize');
Logged
Sapphire
Newbie
Posts: 8
Re: TreeGrid: hide/show frozen and normal columns
«
Reply #2 on:
October 19, 2015, 05:44:15 AM »
Hello stworthy,
it works
Thanks for your help.
Logged
Sapphire
Newbie
Posts: 8
Re: TreeGrid: hide/show frozen and normal columns
«
Reply #3 on:
October 20, 2015, 01:20:06 AM »
one other question in relatin to the different between frozen ans stantard columns
Sometimes if i have only fronzen columns visible and i expand some node the slider on the right treegrid side are not visible or not changed the size.
If i expand/collapse some other nodes the slide bar will be visible.
This appens, only if i use the frozen columns. If i use only standard colums there are nor problems with the slidebar.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...