[Qt-interest] QTableView-how to set a column viewable

David Boosalis david.boosalis at gmail.com
Sat Aug 29 01:30:21 CEST 2009


If I have say 100 columns in a QTableView, how can I programatically
set a column to be in the view.

I found :
 QAbstractItemView::scrollTo ( const QModelIndex & index, ScrollHint
hint = EnsureVisible )

But QTableView does not make this method available.

I think there must be an easy way to do this, but can't find it.  Any
help much appreciated.

-David



More information about the Qt-interest-old mailing list