Wiki

Articles tagged with "ctreeview", sorted by commentsX
Displaying 1-3 of 3 result(s).

Display an AJAX tree from your DB using CTreeView

Created 4 years ago by Fran├žois GannazTutorials10 comments – viewed 46,595 times – ( +21 ) – version 1.1
This example uses a MySQL DB with a table named tree with the fields id, name, and parent_id. The parent_id will be NULL for root elements. The SQL is kept simple (no autoinc, no FK, etc).
tags: AJAX, CTreeView

adding class and links to Ctreeview node

Created 3 years ago by bingjie2680Tips2 comments – viewed 11,850 times – ( +4 ) – version 1.1
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.
tags: ctreeview, link, class

Generate CTreeview from database table and update a model

Created 5 months ago by KonApazHow-tos0 comments – viewed 1,779 times – ( +1 ) – version 1.1
Suppose we want to set a category to product (or an item in general term), Also suppose categories has sub-categories (multi-level)