LAMW with jDBListView and TDataSource lazarus / 43-Android ---------------------------------------------------------------------- Robert Gilland · 2019-04-10 22:45 Firstly,   Thank you for all your work with LAMW. This is a quick question as to why jDBListView doesn't seem to be compatible with TDataSource? ---------------------------------------------------------------------- jmpessoa · 2019-04-10 23:26 QuotejDBListView doesn't seem to be compatible with TDataSource? jDBListView is compatible with  LAMW  jSqliteCursor/jSqliteDataAccess only ... [sorry...] You can try the demo "AppDBGridViewDemo1" ---------------------------------------------------------------------- Robert Gilland · 2019-04-10 23:35 DBGridView also is not compatible with TDatasource. Would really love to be able to simply be concerned with populating datasets, and let the UI take charge of presentation. Is compatibility with Tdatasource in the plans for development? Also Is CustomDrawListViewItem Event in the plans for development? ---------------------------------------------------------------------- jmpessoa · 2019-04-10 23:49 QuoteIs CustomDrawListViewItem Event in the plans for development? If you work with [material design] theme "AppCompat"  you can use "jsRecyclerView"   [custom drawItem by design] But  jListView can handle many  commons patterns.  What you need? I can try help  you. ---------------------------------------------------------------------- Robert Gilland · 2019-04-11 00:14 As I said in the other thread. Current ListView needs: IMAGE followed by a Long Description ie. not 3 columns. If the grid view could not show vertical columns that would help. Maybe that would work. Near future Listview Needs are: Long Description on one line then Short Description Objects underneath. Long Description must not get mixed up with Short Description Objects: For Example: This is the Description of my Product. Code:Product Code Qty: 56 ---------------------------------------------------------------------- jmpessoa · 2019-04-11 02:43 QuoteThis is the Description of my Product. Code:Product Code Qty: 56 What about: Set properties: ItemImageIdentifier: ic_launcher ItemLayout: layImageTextWidget TextAlign: taCenter TextDecorated:txtNormalAndItalic TextSizeDecorated:sdDecreasing Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i jListView1.Add('This is the Description of my Product|Code:123456      Qty: 56');  the delimiter '|' will break the text .... ---------------------------------------------------------------------- Robert Gilland · 2019-04-11 05:35 Thanks, that Looks good for future requirements. However the current requirement means I need a different image per list view item. I think there is an event for that, I will test that.