Home > Back-end >  O TdxDBTreeView control query access code, rendering is as follows
O TdxDBTreeView control query access code, rendering is as follows

Time:09-24

This control has been downloaded, just don't know how to use in order to achieve the following effects, this is a user permissions module function,
Strives for the code or the corresponding train of thought

CodePudding user response:

This is a tree structure, database design, you should have a hierarchical relationships, read it out to form the tree line, online a lot of code, you search "treeview database"

CodePudding user response:

Devexpress TreeList

CodePudding user response:

http://www.myexception.cn/delphi/265429.html
Consult,

CodePudding user response:

1. Dxdbtreelist pull control interface
2. Connect to the database, set up corresponding datasource
3. Dxdbtreelist datasource Settings
4. Dxdbtreelist set keyfield is your table's primary key, set the parentfield is your data in the table corresponding to the parents of node
5. Double-click the controls the columns corresponding column increases the add options page and set the fieldname,
6. If it is the checkbox type choice checkcolumn add, otherwise the default, and set up corresponding checkvalue and uncheckvalue
  • Related