Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1075
How to display TreeView instead of ValueList
posted

 Hi!

I have UltraGrid with some IDs in it. Now I am using ValueList to Display/Edit  those IDs.

e.Layout.Bands["Weights"].Columns["FoodTypeID"].ValueList = this.gridViewWaste.DisplayLayout.ValueLists["FoodNames"];

User wish to see Tree instead of plain list because he has too many FoodTypes and because on other forms we are using UserControl which displays FoodNames like a TreeView. How can I do so grid still displays Names instead of IDs and when user enter edit mode it shows him Tree?