Difference between #12 and #13 of
adding class and links to Ctreeview node

Revision #13 has been created by bingjie2680 on Aug 6, 2011, 8:30:35 AM with the memo:

« previous (#12)


Title unchanged

adding class and links to Ctreeview node

Category unchanged


Yii version unchanged

Tags unchanged

ctreeview, link, class

Content changed

This article will show you how to add links and class to each node in ctreeview. so you can attach events in js by obtaining handler on anchor or class. I am new to Yii, and I love this framewrok. lately I have been playing a bit with ctreeview. and I find out there is a lack of documentation about adding links to ctree node, so here, I would like to share my experience with you, because I think this is a quite common practice if you are using ctreeview. this article is based on this [article](http://www.yiiframework.com/wiki/70/display-an-ajax-tree-from-your-db-using-ctreeview "")
中文版请查看我的[博客[这里](http://yjlblog.com "")

So I assume that you have something like this in your controller:

4 0
Viewed: 15 491 times
Version: 1.1
Category: Tips
Written by: bingjie2680
Last updated by: bingjie2680
Created on: Jul 8, 2011
Last updated: 6 years ago
Update Article


View all history