EasyUI Forum
July 04, 2024, 02:12:56 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: TreeGrid: expand frozen columns and slider problems  (Read 6013 times)
Sapphire
Newbie
*
Posts: 8


View Profile
« on: October 20, 2015, 04:34:19 AM »


Hello,

If have the problems with frozen columns that sometimes the slidebar on the right side from the treegrid are nor visible when i expand some rows.


I try to upload pictures to show you what i mean but i got allways an error

The upload folder is full. Please try a smaller file and/or contact an administrator.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2269


View Profile Email
« Reply #1 on: October 20, 2015, 05:17:22 PM »

Please provide an example to demonstrate your issue.
Logged
Sapphire
Newbie
*
Posts: 8


View Profile
« Reply #2 on: October 21, 2015, 12:03:59 AM »

take the example from here http://www.jeasyui.com/tutorial/tree/treegrid1.php (Create a Basic TreeGrid, easyui-treegrid1-demo.zip)

Change one line in the treegrid1_demo.html

      <thead frozen="true">

and expand the MySQL Node. After you expand the MySQL Node there is nor slider on the TreeGrid.


Without the change in the html file you have the slider after expand MySQL.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2269


View Profile Email
« Reply #3 on: October 21, 2015, 01:39:35 AM »

You can not change all the columns to be frozen. At least one column must be defined in the 'columns'.
Logged
Sapphire
Newbie
*
Posts: 8


View Profile
« Reply #4 on: October 21, 2015, 02:18:04 AM »

is it the same "problem" if i hide all non frozen columns?

Code:
<body onload="test1();">
<h1>TreeGrid</h1>

<table id="test" title="Folder Browser" class="easyui-treegrid" style="width:400px;height:300px"
url="data/treegrid_data.json"
rownumbers="true"
idField="id" treeField="name">
<thead frozen="true">
<tr>
<th field="name" width="160">Name</th>
<th field="size" width="60" align="right">Size</th>
</tr>
</thead>
<thead>
<tr>
<th field="date" width="100">Modified Date</th>
</tr>
</thead>
</table>
<script>function test1() {$('#test').treegrid('hideColumn', 'date');$('#test').treegrid('resize');}</script>
</body>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!