Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Custom ListModel (subclass QAbstractItemModel) return in modelData JS-array. How?
Forum Updated to NodeBB v4.3 + New Features

Custom ListModel (subclass QAbstractItemModel) return in modelData JS-array. How?

Scheduled Pinned Locked Moved Solved QML and Qt Quick
1 Posts 1 Posters 149 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bogong
    wrote on 28 Jun 2020, 15:20 last edited by
    #1

    Hello all!
    How to return JSArray when I am using custom ListModel (subclass QAbstractItemModel)? Something like this but from custom model https://forum.qt.io/topic/116283/qml-listview-model-like-array-of-arrays-how, not from statical array.

    1 Reply Last reply
    1

    1/1

    28 Jun 2020, 15:20

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved