I am running jokhttputils2 and json parser to get a json string from an online database.
I have a Tableview on my java app which i want to populate with the data received in the json string.
I am running following code for that
Sub loadlistview
Dim Table As List
Dim p As JSONParser
Dim res As...
Hello Everybody.
How can I detect the ScrollChange in a TableView?
I have done many searches and tried several methods and examples that I find in the forum, but most of them refer to the CLV. I've even tried to analyze the code in the Flexible Table.
All without success for what I require...
Hi to everybody,
when I use Flexible Table (https://www.b4x.com/android/forum/threads/class-flexible-table.30649/), most times I forget to include the sorting icons in fileassets.
Furthermore, I wanted a dynamical way of creating such icons, so I modified the library code. If you find useful...
The following is failing to fill the table with the values
The Log shows values are all there
Sub TextField1_TextChanged (OldText As String, NewText As String)
TableView2.Clear
Log("Text change")
NewText = NewText.Trim
If NewText.Length >2 Then
Log(NewText)
Dim rs2 As ResultSet=...
I am converting a successful B4A app to B4i. I am trying to use TableView and then as I couldn't I started looking at CustomListView. I simply want to show a list and click on it and read the value
What method do I use to get the clicked on a row in the table
Here is my B4A code. I have spent...
Hi All,
I'm using a simple Tableview and I need to take the selected cell value. I used this code and it works perfect:
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private TableView1 As TableView
Private Label1 As Label
End Sub
Sub AppStart (Form1 As Form...
I've been able to do a few things with Java Objects, but this one seems to escape me. If I have TableView tv1, how do I change all the row heights to a specific number, say 30px. I've seen some examples for B4I, but I'm strictly using B4J.
Even changing the font, the default is leaving too...
Hello All,
I know I'm missing something obvious, but for the life of me I can't see it. I have a Tableview that I'm populating with DBUTILS ExecuteTableView. When I click on a line, it will populate a couple textfields. If I update the Qty field, and send the data back to the row, the...
Hello
I have a table view with 7 cols. The first 2 cols are text, and the remainder 5 cols have a checkbox in them.
When I resize any of the cols that have a checkbox using the double click on the col header when the mouse icon turns to resize the following occurs:
Is this a bug, or if...
Ola
This is no magic really, some time ago there was a post here about adding fontawesome buttons to headers, so I included it on my snippets, here too.
I have realized something, my table has abbreviations and I sometimes forget what they even mean. Lol.
So me things, there is already a...
Hi there
I have been using the 'Dim row(3) As Object' notation for a while with tableviews record addition. So I decided to try to use a list instead.
So I..
Dim row as List
row.Initialize
row.add("x")
row.add("y")
row.add("z")
tableview.items.add(row)
of rather row.AddAll(array as...
I made a tableview and I stored numbers in each cells as object
when I clicked some cell, I got number(object info) of each cells by using below method
Sub TableView1_SelectedCellChanged (RowIndex As Int, ColIndex As Int, Cell As Object)
Log(Cell)
End Sub
Then, I am trying to get...
This is my first code snippet, for exporting a tableview to an excel. ITs my first serious attempt to work with b4j after trying various tools for months. I am now certain i made the best choice to start working with b4j. After searching the forum i managed to put together this sub... no big...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.