Is there a way I can make a nested interactive list?
-
I'm using ListView to make a nested list, but is there a way I can make a button which will close the parent list, what I say is:
+RootText
*r
*r
*r
And when I press the plus the list will look like this:
+RootText -
I'm using ListView to make a nested list, but is there a way I can make a button which will close the parent list, what I say is:
+RootText
*r
*r
*r
And when I press the plus the list will look like this:
+RootText@mandruk1331
May be it will be better to use a TreeView, is't it?? -
@mandruk1331
May be it will be better to use a TreeView, is't it??@Roumed But can't I make nested lists from a ListView?
-
@Roumed But can't I make nested lists from a ListView?
You can. But ListView has the only level of delegates. So if you make your implementation, to fix this fact you need write a lot of code.
And as the result of it you will have your own TreeView nested from ListView. If it is useless for you, I recommend you to use usual TreeView. It is not as fast as it should be, but all you need to do is to customize it.