PDA

View Full Version : QTableView restrict ScrollArea



hoshy
3rd April 2009, 10:55
Hi folks,

how is it possible to restrict the ScrollArea of a QTableView, so that the first column will always be shown.

Thanks...

talk2amulya
3rd April 2009, 11:55
your first column isnt getting shown?

hoshy
6th April 2009, 09:54
Well, I wan't something like this:

|id|column1 |column2 |...
|1 |testentry|testentry|...

^ this can be scrolled!
^ this will always be in focus / shown

What I did, I just used two QTableViews and synct. the vertical ScrollBars. But I want it with one QTableView.
Is that possible?

thx