dev TreeList 常用属性

1:父子节点联动

.OptionsBehavior.AllowRecursiveNodeChecking = true;

2:是否显示Checkbox

.OptionsView.ShowCheckBoxes = true;

3:隐藏列

treeList1.Columns["MenuUrl"].Visible = false;

4:数据绑定

treePDA.Nodes.Clear();
treePDA.DataSource = allPDAMenu;
treePDA.ParentFieldName = "ParentId";
treePDA.KeyFieldName = "MenuId";

原文地址:https://www.cnblogs.com/volts0302/p/7093957.html