Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello all
I need to change the initial number of a QTableView vertical header to start with 0, not with 1
How can I do that?
Thanks
Hi,
You can subclass QHeaderView and set on your QTableView
Solved
@ for(int i = 0; i < modelo->rowCount(); i++) { modelo->setHeaderData(i, Qt::Vertical, i); } @
Indeed, it's way simpler :) I've over engineered your problem :D
No problem. By the way, thanks for your replies. Its a very good help.
Cheers