Qt World Summit: Submit your Presentation

How to change flick boundsBehavior for TableView?

  • Hallo,

    while using the TableView I'm struggling to disable the fancy over shooting flick functionality.

    The problem is that in contrast to the ListView the TableView is inherited by ScrollView instead of Flickable so there is no boundsBehavior property that can be set to Flickable.StopAtBounds

    I tried to set the property of the flickableItem within the ScrollView like

    TableView {
      flickableItem.boundsBehavior: Flickable.StopAtBounds

    but this does not work for some reason, at least in my case.

    If you someone give me a solution it would come really handy.

    Thanks and cheers