Library documentation: B4XTable - v1.15 B4A Library [B4X] B4XTable - Cross platform, sortable, searchable, customizable table - Erel    Feb 8, 2024   (57 reactions)   tags: xuiTable, b4xtable, DataGrid, Table, B4X B4XTable B4XTable is a paged based table. The UI is made of a horizontal xCLV. The data is stored in an in... use? 1. Add a B4XTable with the designer. 2. Add the columns: B4XTable1.AddColumn("US County...(RowId) Dim cell As String = RowData.Get(ColumnId) Log(cell) End Sub B4XTable.GetRow returns... row ids with B4XTable.VisibleRowIds. Customization Many things can be customized. Will start with a few simple things. B4XTable.AddColumn returns a B4XTableColumn type instance. You can modify... B4A Library [B4X] B4XTableSelections - extended selection modes for B4XTable - Erel    Jan 13, 2022   (17 reactions) https://www.b4x.com/basic4android/images/java_pBh7rhOHqQ.png B4XTableSelections extends B4XTable.... MULTIPLE_LINES - selection of multiple lines Usage: Initialize B4XTableSelections and set the mode: XSelections.Initialize(B4XTable1) XSelections.Mode = XSelections.MODE_SINGLE_CELL_TEMP Implement these two events like this: Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long) XSelections.CellClicked(ColumnId, RowId) End Sub Sub B4XTable1_DataUpdated XSelections.Refresh End... B4A Tutorial [B4X] Cross platform Editable B4XTable + Form Example - Erel    Jan 2, 2020   (30 reactions)   tags: xuiTable . Using B4XTable and B4XPreferencesDialog to create an editable table. Table features: Add new items.../b4xtable-with-inline-editing.112686/#post-702660... closes to a CSV file. Saved data is loaded when the app starts. Dependencies: - B4XPreferencesDialog...https://www.b4x.com/basic4android/images/SS-2019-04-11_15.50.04.png This example demonstrates several things: Cross platform code and files, similar to the way XUI2D games are organized: All... B4A Tutorial [B4X] B4XTable with custom cells layout - Erel    Feb 6, 2019   (17 reactions)   tags: B4X, B4X B4XTable Custom Cell https://www.b4x.com/basic4android/images/SS-2019-02-06_11.52.16.png Requires B4XTable v1.01+: https://www.b4x.com/android/forum/threads/b4x-b4xtable-cross-platform-sortable-searchable-customizable... layouts. Each cell in B4XTable is made of a Panel with a Label. The cells layouts are created as needed.... The purpose of these two lines is to limit the maximum number of rows per page and to force B4XTable to... whenever the data is updated). To make it simpler to use custom layouts we start with: B4XTable1... B4A Tutorial [B4X] B4XTable - Load data from SQL database - Erel    Feb 10, 2019   (34 reactions)   tags: b4xtable B4XTable.SetData expects a List where each entry in the list is an array of objects with the data... the Data list with the data coming from the SQL db. Step #3: call B4XTable.SetData. B4A project.../images/SS-2019-02-10_15.49.29.png Example of loading the data from a SQL database: B4XTable1.AddColumn("Customer Id", B4XTable1.COLUMN_TYPE_NUMBERS) B4XTable1.AddColumn("Name", B4XTable1.COLUMN_TYPE_TEXT) B4XTable1.AddColumn("Company", B4XTable1.COLUMN_TYPE_TEXT... B4A Tutorial [B4X] B4XTable - Multiple rows selection - Erel    May 25, 2020   (9 reactions)   tags: xuiTable Edit: Don't use this code. Use B4XTableSelections class instead: https://www.b4x.com/android/forum/threads/b4x-b4xtableselections-extended-selection-modes-for-b4xtable.114294/ This example depends on B4XTable v1.02+ and B4XCollections. https://www.b4x.com/basic4android/images/SS-2019-02-06_15... the CellClicked event: Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long) Dim Selected As Boolean... = B4XTable1.VisibleRowIds.IndexOf(RowId) 'Find the index of the visible row SetRowColor(Index, Selected... B4A Question [SOLVED] B4XTable Dynamically Show/Hide Column - Jeffrey Cameron    Jan 31, 2020 with B4XTable v1.17, XUI v1.92 and XUIViews v2.23. I'm sure there's some finer point in the table...I'm having issues showing/hiding a table column after the table has been filled (and yes, I have looked at the examples here and I can replicate this issue using the B4XTableExample program). I've attached a small test program for convenience but the images below will illustrate. Before hiding the column all are visible and there is no left-right scrolling available: 88041 After... Share My Creation EasyCode - Form/B4XTable Generator with no writting code [B4J] [B4A] - Magma    Oct 25, 2022   (25 reactions) 126000 Well, I ve decided to create a Form-View Generator (B4J - B4A)... that creates Forms with B4XTable + with no writing code at all... The Designer is in B4J code, the produced code/files working at B4A too !!! - It uses SQLite, easily can change at any SQL Database (mysql, mssql... etc..... using b4xdialog, preferencesdialog with auto generated files... - For the result-form using SwiftButtons... B4XPages Example for including EasyViewTable Generated Forms, .json, html printing... B4A Tutorial B4XTable - Photos Album - Erel    Jan 11, 2021   (18 reactions)   tags: b4xtable photo https://www.b4x.com/basic4android/images/SS-2019-03-03_13.10.22.jpg In this example the table is used to show the camera roll photos. Main steps: 1. Get permission to access the external storage. 2. Collect the image files from several folders. 3. Add the columns and add ImageViews to all cells. 4. Load the images when the table is updated. 5. Show a dialog with a large image when an image is clicked.... B4A Code Snippet [B4X] B4XTable - Delete Row - Erel    Mar 11, 2019   (13 reactions)   tags: delete b4xtable row, B4X B4XTable - Delete Row Deletes a row from the table. Sub DeleteRow (tbl As B4XTable, RowId As Long) tbl.sql1.ExecNonQuery2("DELETE FROM data WHERE rowid = ?", Array (RowId)) Dim page As Int = tbl.CurrentPage Dim FirstIndex As Int = tbl.FirstRowIndex tbl.ClearDataView 'Updates the rows count... = page End Sub Usage example: Sub B4XTable1_CellClicked (ColumnId As String, RowId As Long... = xui.DialogResponse_Positive Then DeleteRow(B4XTable1, RowId) End If End Sub ... Page: 1   2   3   4   5   6   7   |