开发者

UltraTree - setting columns?

开发者 https://www.devze.com 2022-12-18 10:42 出处:网络
I\'m using UltraTree with vb.net and I\'m finding it is super easy to bind it to parent/child dataset and it populates the treeview nicely.

I'm using UltraTree with vb.net and I'm finding it is super easy to bind it to parent/child dataset and it populates the treeview nicely. However I need to hide certain columns, and I can't figure out how to do this in code. I can't use the designer since I'm using code to bind my dataset and that seems to override whatever I set in the desi开发者_JS百科gner as far as columns go.


Try

UltraTree1.ColumnSettings.ColumnSets(X).Columns(Y).Visible = False

Where X is the columnset name / index and Y is the column name / index

0

精彩评论

暂无评论...
验证码 换一张
取 消