Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › How to update form listview to database and vice versa

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20387

    Felgo User

    I have a list with section and checkbox like below:

    AppListView
    {
        delegate: Item
        {
            Column
            {
                  SimpleSection
                 {
                    enabled: true
                  }
                  Column
                  {
                      Repeater
                      {
                          delegate:AppCheckbox
                          {
                          }
                       }
                   }
              }
          }
    }

    The intention is to load database to this list with checkbox instead of true or false string.

    And if I checked or unchecked to the checkbox (AppCheckbox), the data will be updated into the local database. How can we do the data binding so the loading of listview and the update from listview to database will become easiest?

    #20405

    Günther
    Felgo Team

    Hi,

    the next Felgo Update will include some MVC architecture best-practices to help you develop such features in a well-structured way.

    Stay tuned to next week’s update!

    Best,
    Günther

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.