Recent

Author Topic: control a sqlite table from the items of a jlistview  (Read 276 times)

juank1971

  • Jr. Member
  • **
  • Posts: 84
control a sqlite table from the items of a jlistview
« on: October 20, 2020, 11:54:02 am »
it is possible to control a sqlite table from the items of a jlistview. I need to know if there is any property of the jlistview items that can save for example the id of the row in the database table,

Exist the tag property in the jlistview items? Or another propetti of the items of the listview for save any information of the row table

jmpessoa

  • Hero Member
  • *****
  • Posts: 1666
Re: control a sqlite table from the items of a jlistview
« Reply #1 on: October 20, 2020, 09:56:08 pm »

Quote
Exist the tag property in the jlistview items?

Yes!

 jListView1.SetItemTagString(............);
 jListView1.GetItemTagString(.........);
 
And there is  a demo  "AppDBGridViewDemo1" that use  "jDBListView" component...
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

juank1971

  • Jr. Member
  • **
  • Posts: 84
Re: control a sqlite table from the items of a jlistview
« Reply #2 on: October 20, 2020, 11:37:53 pm »
thanks

 

TinyPortal © 2005-2018