EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Afract on July 11, 2016, 12:08:30 AM



Title: "lines" property of Treegrid seems to do nothing ?
Post by: Afract on July 11, 2016, 12:08:30 AM
Hello,

I can't figure how the lines property works, or it doesn't : regardless you put it to true or false, the grid is always visible in treegrid ?

It's not a big issue, because it can easily be fixed in CSS :
.datagrid-header td, .datagrid-body td, .datagrid-footer td { border:none; }
But I don't understand the purpose of the property 'lines' as it doesn't seem to do what it suggests.

Thank you


Title: Re: "lines" property of Treegrid seems to do nothing ?
Post by: jarry on July 11, 2016, 07:44:48 AM
The 'lines' property indicates if to show lines between treegrid nodes. Please look at the following example:
http://www.jeasyui.com/demo/main/index.php?plugin=TreeGrid&theme=default&dir=ltr&pitem=TreeGrid%20Lines


Title: Re: "lines" property of Treegrid seems to do nothing ?
Post by: Afract on July 13, 2016, 01:14:05 AM
Ok. I finally got it, it's not about the grid lines between each rows/columns but about the appearance of the tree itself, on left of screen.

On the Demo page about this, I suggest to add a "lines = true / false" screenshot comparison of the appearance and a short explanation about it.
At first read (maybe because english is not my mother language) I thought "lines" was about the grid.
Thank you