[Development] Disable column header reordering in QML TableView
Nurmi J-P
jpnurmi at digia.com
Thu Feb 20 21:07:33 CET 2014
On 20 Feb 2014, at 20:55, Aris Green <greensp at cox.net> wrote:
> I can't find any method in the docs about how to disable the user reordering
> TableView columns. I want them to be able to click the header for sorting,
> but I want to disable reordering as it does not work that well.
Hi,
You can set TableViewColumn::movable to false. The property was introduced in QtQuick.Controls 1.1.
PS. For future reference, the mailing list for Qt users is interest at qt-project.org.
--
J-P Nurmi
More information about the Development
mailing list