Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-78273

TableView always show 256 rows only even if there are more rows in DB

    XMLWordPrintable

    Details

    • Commits:
      acb6ed0815f92588c3ff875a568e9561fe61218c (qt/qtdeclarative/5.14)

      Description

      In case when there are many rows, say 1000 in DB and QSqlTableModel is used for it, TableView in Qt Quick always show only 256 rows only,even on scrolling down to table, it does not try to fetch more rows. Ideally, it should try to look for more rows.

      With QTableView and TableView Controls 1, it works perfectly fine.
      Please find the attached sample, where QTableView is showing all the rows whereas TableView from Qt Quick is not.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            khormi Kari Hormi
            Reporter:
            shmittal Shveta Mittal
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes