Maybe you also need to insertColumns() ?
Maybe you also need to insertColumns() ?
no because I do it before. My problem is I don't see the children indexB but I can see the parents indexA and indexC.
Any others idea?
Are you sure you did that with "indexA" as a parent too?Originally Posted by Nuria
Try:Qt Code:
m_model->insertRows(0,1,indexA); m_model->insertColumns(0,1,indexA); m_model->setData(indexB, "jaja");To copy to clipboard, switch view to plain text mode
thanks. I solve my problem adding the column
Bookmarks