TreelistView c++/cli
-
hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns
-
Something like TreeListView Class | WPF Controls | DevExpress Documentation[^] maybe.
-
hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns
Temblor wrote:
cli project...TreelistView
So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.
-
Temblor wrote:
cli project...TreelistView
So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.
jschell wrote:
So 'cli' is command line interface.
No. See .NET programming with C++/CLI | Microsoft Learn[^] for example. It's some bastardisation of "Interface to CLR (Common Language Runtime)".
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
-
Temblor wrote:
cli project...TreelistView
So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.
let explain some inf I succeed in displaying sql data in a treeView all i need now is another column so i can display another data like (balance) in it something like objectListView it's not for showing system files btw I saw some devs made what you taking about (file system in treeView) in C++ / MFC
-
Temblor wrote:
cli project...TreelistView
So 'cli' is command line interface. So a CUI for a tree list view? My take is you have three options. 1. Get different requirements so it is not needed at all. 2. The tree is going to be very shallow. And probably very short. So roll your own. 3. This isn't going to work. Why the third? For example sometimes I recurse a directory tree via the command line looking for files or even all files. I can certainly view that in a console but it is basically worthless because there is so much data. Even if I am just looking for one specific file I still need a search mechanism. So I route to a file and then use an editor to search. But lets say you are not looking for a actual file system. So what is the growth rate of this tree? If it is shallow and small in 10 years rolling your own still works. And the users can use it. But if your growth rate is not small then in 10 years the users will have something they can't use. If I was asked to do this and I already knew that the tree was not small then I would push back on the requirements. In writing (like email.) And if they insisted I would first make a copy of that email and my response. Then I would just roll my own (still not that hard.) It would be their problem when it was unusable. But I might use a demo with data from 10 years from now - just so they can see what is going to happen.
-
hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns
"Columns" are an illusion. If you only have "one column / item / field" (that you can identify), concatenate multiple fields together (as strings) with padding and / or a "separator" (e.g. "|")
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
jschell wrote:
cli project... So 'cli' is command line interface.
The forum, title, and indeed the question specifically stated c++/cli, which is the C++ version of code that compiles into .NET IL.
-
hi guys im working on c++/ cli project and i need something like objectlistview of TreelistView so i can display treeview with multi columns