Hi to all.

I'm new on this forum. I try to find something like this but didn't find.

I need to develop excel-like spreadsheet with possibilities:
1. Data must be tree like:
Group
Element 1
Sub Element 1
......
Element 2
.......

And have possibility to expand and collapse each sublevels(+/- like in a tree)
2. Need to have a possibility to hide row like in excel. In fact, give height = 0 pixels and possibility to expand it by placing mouse between rows and drag down.

Some other functionality that I think don't have a influence for this.

For first one is good to use QTreeView, for second QTableView.

I start to using QTreeView. Can you help me, how to extend QTreeView for such functionality?