Hi Gurus and Masters!
I'm looking for a solution for the following issue I have:
Imagine an application like a File manager, where I have a list of files with details. (name - language - Guid - user etc...)
I can easily sort/modify these items, but in some rare cases these files could have slices (sub elements) /basically the same file as the parent just sliced to ranges/
Something like this:
First file | LangCode | Guid | User
Second file | LangCode | Guid | User
Third file
Third file 1-2 | LangCode | Guid | User
Third file 3-4 | LangCode | Guid | User
Third file 5-6 | LangCode | Guid | User
Forth file | LangCode | Guid | User
And the issue is with the slices. When I reorder, filter the listview these slices are not under the parent document anymore.
All these listviewitems are added programmatically.
If something is not clear, just let me know and i will gladly provide further info.
Thanks! :)
What I have tried:
The only "solution" what i was able to achieve is simply not filtering the files...but as this would be an extra feature, i would like to fix this somehow.
Right now, my last idea was to iterate through the items and if it has subitems, somehow insert them after the parent document. But of course I haven't found a solution for this as well..