Wiki

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

Generate CTreeview from database table and update a model

Updated 3 months ago by KonApazHow-tos0 comments – viewed 1,382 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)

Display an AJAX tree from your DB using CTreeView

Updated 2 years ago by Fran├žois GannazTutorials10 comments – viewed 45,386 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

Updated 3 years ago by bingjie2680Tips2 comments – viewed 11,528 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