EasyUI Forum
May 20, 2024, 04:13:26 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: TreeGrid: expand frozen columns and slider problems 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>
2  General Category / EasyUI for jQuery / Re: TreeGrid: expand frozen columns and slider problems 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.
3  General Category / EasyUI for jQuery / TreeGrid: expand frozen columns and slider problems 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.
4  General Category / EasyUI for jQuery / Re: TreeGrid: hide/show frozen and normal columns 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.
5  General Category / EasyUI for jQuery / Re: TreeGrid: hide/show frozen and normal columns on: October 19, 2015, 05:44:15 AM
Hello stworthy,

it works  Smiley

Thanks for your help.
6  General Category / EasyUI for jQuery / Re: Datagrid loading/loaded method do not work on IE and chrome. on: October 19, 2015, 05:42:56 AM
Hello citos,

maybe its the problem that chrome and ie don't allow load local json files with ajax.

Do you load your files from a local file system or via web server?

You can start chrome with a special parameter to allow loading local json files.
(--allow-file-access-from-files or --disable-web-security)

http://stackoverflow.com/questions/19902538/loading-local-files-with-javascript-without-a-web-server
7  General Category / EasyUI for jQuery / 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
8  General Category / EasyUI for jQuery / TreeGrid: empty folder icon on: May 08, 2014, 11:22:55 PM
Hello together,

based on the Lazy loading nodes in TreeGrid example (http://www.jeasyui.com/tutorial/tree/treegrid5.php) i have question about node with an empty children list.

I have modified the data set for this example and add a node with an empty children list on the end

{
   "id":99,
   "name":"D",
   "size":"",
   "date":"02/19/2010",
   "children":[
   ]   
}

In the a attached picture (empty_folder1.jpg) you can see a folder icon for D.

If i remove the lazy load functionality by removing the loadFilter data-option from the html file i got this result (empty_folder2.jpg)

The you can see a file icon for D.

How i can defined which icon is display for a node with a children list without members (empty folder).
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!