开发者

UltraTree - setting columns?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜