tableview

  1. DarkoT

    B4J Question TableView - store column order

    Hi, I want to implement TableView instend of B4xTable because TableView has drag&drop columns sort options and columns can be resized with a mouse. I want to implement also the "save layout" option wich will allow user to resize columns, hide columns and make unique positions for columns in...
  2. H

    B4J Question TableView scrollbar

    Tableview horizontal scrollbar is hidden when columns with is out of tableview width ( when tableview is empty ), i want show scrollbar even tableview is empty
  3. L

    B4J Question TableView crashes after 100 refreshes

    Lectori Salutem, I've run into this oddity where a tableview crashes after it has been reloaded exactly 100 times. It's no use to do it in a loop, that doesn't refresh the table properly but when you click the button 100 times and let the table reload properly the app crashes (not joking)...
  4. behnam_tr

    B4J Question check Tableview HasFocus ??

    hi How Check Tableview HasFocus or Not ??
  5. behnam_tr

    B4J Question [Solved]How Change Tableview Columns Runtime ??

    hello everyone I need to change Tableview Columns Header and width runtime I have a problem with the Tableview When I change the Columns Header and and their width , the format of the previous Columns and their size remain. sample attached.
  6. LucaMs

    Wish SetRowHeight

    SetRowHeight(RowIndex As Int, Height As Double) - Useful to hide rows.
  7. LucaMs

    B4J Question What is that "build" method?

  8. DarkoT

    B4J Question InLineEdit - Enter new value and go to next row

    Hi guys, need little help... I'm using InlineEdit for B4XTableView. It's possible to add new functionality to "send" cursor to next row, after user enter new value? Now system sends the focus to button - outside of grid when user input data and press Enter... User need always click into...
  9. gezueb

    B4J Question How to disable TableView SelectedRowChanged?

    I have a program that displays a tableview. When I click on a row, a SelectedRowChanged event is triggered. This sub calls another form with some detail info about the item clicked. The tableview is closed. So far so good. When I leave the detail form I want to return to the form with the...
  10. saeed10051

    B4J Question How to populate Tableview with a json string

    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...
  11. Jorge M A

    B4J Question How Detect the ScrollChange in a TableView.

    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...
  12. advansis

    Android Code Snippet Flexible Table Sort Icons

    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...
  13. D

    iOS Question Tableview issue

    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=...
  14. D

    iOS Question Converting B4a to B4i with Listview

    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...
  15. N

    B4J Question [B4J] How to take the right Tableview Selected Cell value

    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...
  16. LucaMs

    Wish TableView - select cells with mouse

  17. AKJammer

    B4J Question Changing the RowHeight in a Tableview

    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...
  18. AKJammer

    B4J Question Updating Tableview data from textfield

    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...
  19. Jmu5667

    B4J Question Tableview Anomaly when column resizing.

    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...
  20. Mashiane

    B4J Code Snippet TableView: Adding tooltips to column headers

    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...
Top