开发者

Is there a way to add extra columns to a jstree?

I'm using jQuery and jstree. I would like to have extra columns appear to the right of the node labels so that I can put additional info in them such as dates, text, etc.

How can I do th开发者_JS百科is in jstree?


This is an example of the layout that I'd like to achieve, but with jstree.

Is there a way to add extra columns to a jstree?


jsTreeGrid


There is two ways to do it:

Either edit the Dom after jstree has loaded

or

Edit jstree javascript file to achieve the desired effect. Start by looking at line 313:

this.get_container().html("<ul>...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜