<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ComboBox qml with SQLite list]]></title><description><![CDATA[<p dir="auto">Hello, do you know how can I have the comboBox list populated with the "description" column of my SQLite table using JS query:</p>
<pre><code>function combobox()
{
    var db = dbGetHandle()
    db.transaction(function (tx) {
        var results = tx.executeSql(
                    'SELECT description FROM part_log order by description asc')
        for (var i = 0; i &lt; results.rows.length; i++) {
            listModel.append({
                                 id: results.rows.item(i).rowid,
                                 checked: " ",
                                 description:results.rows.item(i).description
                             })
        }
    })
}
</code></pre>
<p dir="auto">thanks a lot for your help</p>
]]></description><link>https://forum.qt.io/topic/88431/combobox-qml-with-sqlite-list</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Nov 2026 01:50:16 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/88431.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Mar 2018 09:38:05 GMT</pubDate><ttl>60</ttl></channel></rss>