Wiki

Articles tagged with "ctreeview", sorted by ratingX
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 44,409 times – ( +20 ) – 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,223 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 about a month ago by KonApazHow-tos0 comments – viewed 1,066 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)