Public Sub Initialize(CallbackModule As Object, EventName As String)
Prepare the instance before its other methods.
ELEVATEUI · B4A · XUI
Display and operate on structured rows and columns.
Navigation & onboarding
Display and operate on structured rows and columns.
Animated conceptual demonstration, not an exact Android control screenshot.
In a multi-screen application, connect every menu action to a real destination and preserve the active selection.
Before integrating, examine its methods, events and Designer options.
Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.
The public API, events and properties remain available. An isolated initialization is not presented as a full example; a tutorial will be added after a functional sequence is documented.
46 audited signatures
Public Sub Initialize(CallbackModule As Object, EventName As String)
Prepare the instance before its other methods.
Public Sub getRowHeight As Int
Read the current row height value for validation or UI synchronization.
Returns: Int
Public Sub setEmptyMessageTable(message As String)
Update empty message table at runtime when this setting changes.
Public Sub setGridColor(color As Int)
Update grid color at runtime when this setting changes.
Public Sub getGridColor As Int
Read the current grid color value for validation or UI synchronization.
Returns: Int
Public Sub setFontColor(color As Int)
Update font color at runtime when this setting changes.
Public Sub getFontColor As Int
Read the current font color value for validation or UI synchronization.
Returns: Int
Public Sub setHeaderBackgroundColor(color As Int)
Update header background color at runtime when this setting changes.
Public Sub setHeaderFontColor(color As Int)
Update header font color at runtime when this setting changes.
Public Sub getHeaderFontColor As Int
Read the current header font color value for validation or UI synchronization.
Returns: Int
Public Sub setTableColor(color As Int)
Update table color at runtime when this setting changes.
Public Sub getTableColor As Int
Read the current table color value for validation or UI synchronization.
Returns: Int
Public Sub ThemeColor(PrimaryColor As Int, SecundaryColor As Int, SelectColor As Int)
Use ThemeColor for its named operation; follow its exact signature.
Public Sub ClearAll
Use ClearAll for its named operation; follow its exact signature.
Public Sub SetColumnsWidths(Widths() As Int)
Use SetColumnsWidths for its named operation; follow its exact signature.
Returns: Int)
Public Sub SetColumnWidth(Index As Int, Width As Int)
Use SetColumnWidth for its named operation; follow its exact signature.
Public Sub setRowHeight(height As Int)
Update row height at runtime when this setting changes.
Public Sub AddToView(view As B4XView, Left As Int, Top As Int, Width As Int, Height As Int)
Use AddToView for its named operation; follow its exact signature.
Public Sub AddRow(Values() As String)
Use AddRow for its named operation; follow its exact signature.
Returns: String)
Public Sub AddEmptyRow
Use AddEmptyRow for its named operation; follow its exact signature.
Original catalog note: Adds a blank row with one cell for every current column.
Public Sub ColumnCount As Int
Use ColumnCount for its named operation; follow its exact signature.
Original catalog note: Returns the number of columns currently defined in the table.
Returns: Int
Public Sub Resize(Width As Int, Height As Int)
Use Resize for its named operation; follow its exact signature.
Original catalog note: Resizes the existing table views while preserving rows and scroll state.
Public Sub ShowAllRows
Use ShowAllRows for its named operation; follow its exact signature.
Public Sub SetDisplayedRows(Rows As List, Filtered As Boolean)
Use SetDisplayedRows for its named operation; follow its exact signature.
Original catalog note: Applies a view-only row projection using zero-based source row indices. Underlying data, formulas, and cell access remain indexed by their original rows.
Public Sub DisplayedRowCount As Int
Use DisplayedRowCount for its named operation; follow its exact signature.
Returns: Int
Public Sub GetDisplayedSourceRow(DisplayPosition As Int) As Int
Use GetDisplayedSourceRow for its named operation; follow its exact signature.
Returns: Int
Public Sub GetColumnName(Index As Int) As String
Use GetColumnName for its named operation; follow its exact signature.
Returns: String
Public Sub SetHeaderImage(Col As Int, Image As Bitmap, Width As Int, Height As Int)
Use SetHeaderImage for its named operation; follow its exact signature.
Original catalog note: Adds or replaces an image shown beside a column title. Pass 0 for Width or Height to use a compact size.
Public Sub ClearHeaderImage(Col As Int)
Use ClearHeaderImage for its named operation; follow its exact signature.
Original catalog note: Removes the image beside a column title.
Public Sub GetCellContentPanel(Col As Int, Row As Int) As B4XView
Use GetCellContentPanel for its named operation; follow its exact signature.
Original catalog note: Returns the full-cell transparent host used to place multiple ElevateUI controls in a cell. Child coordinates are relative to this cell. The host follows its row while the table scrolls.
Returns: B4XView
Public Sub AddCellElement(Col As Int, Row As Int, Element As B4XView, Left As Int, Top As Int, Width As Int, Height As Int)
Use AddCellElement for its named operation; follow its exact signature.
Original catalog note: Adds an unattached view into a cell. Call repeatedly to place multiple controls in one cell.
Public Sub SetCellImage(Col As Int, Row As Int, Image As Bitmap, Width As Int, Height As Int)
Use SetCellImage for its named operation; follow its exact signature.
Original catalog note: Adds an image to a cell and reserves space for its text. Other controls can be added with AddCellElement.
Public Sub ClearCellImage(Col As Int, Row As Int)
Use ClearCellImage for its named operation; follow its exact signature.
Original catalog note: Removes the image from a cell and restores centered cell text.
Public Sub ClearCellElements(Col As Int, Row As Int)
Use ClearCellElements for its named operation; follow its exact signature.
Original catalog note: Removes all custom controls and images from a cell.
Public Sub HideRow(Row As Int)
Use HideRow for its named operation; follow its exact signature.
Public Sub AddColumns(NewColumns() As String)
Use AddColumns for its named operation; follow its exact signature.
Returns: String)
Public Sub AddColumn(ColumnName As String)
Use AddColumn for its named operation; follow its exact signature.
Public Sub GetValue(Col As Int, Row As Int) As String
Use GetValue for its named operation; follow its exact signature.
Returns: String
Public Sub SetValue(Col As Int, Row As Int, Value As String)
Use SetValue for its named operation; follow its exact signature.
Public Sub DeleteRow(RowIndex As Int)
Use DeleteRow for its named operation; follow its exact signature.
Original catalog note: Removes the specified row and keeps the table's selected row and scroll position valid.
Public Sub SelectCell(Col As Int, Row As Int)
Use SelectCell for its named operation; follow its exact signature.
Original catalog note: Selects a cell and scrolls it into view.
Public Sub SetFormulaReferenceCells(Cells As List)
Use SetFormulaReferenceCells for its named operation; follow its exact signature.
Original catalog note: Highlights every cell reference in an actively edited formula. Each reference gets a distinct Excel-like outline.
Public Sub JumpToRow(Row As Int)
Use JumpToRow for its named operation; follow its exact signature.
Public Sub LoadTableFromCSV(Dir As String, Filename As String, HeadersExist As Boolean)
Use LoadTableFromCSV for its named operation; follow its exact signature.
Public Sub SaveTableToCSV(Dir As String, Filename As String)
Use SaveTableToCSV for its named operation; follow its exact signature.
Public Sub TableSize As Int
Use TableSize for its named operation; follow its exact signature.
Returns: Int
No custom Designer properties were found in the audited API.
Initialize with Me and the event prefix Demo, then add the following handler to your B4A module. Names and arguments come from the library declaration.
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_CellClick(Col As Int, Row As Int)
Log("CellClick")
End Sub
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_HeaderClick(Col As Int)
Log("HeaderClick")
End Sub
Event declared by this module. Handle the indicated action in the callback.
B4A handler signature with Demo prefix
Private Sub Demo_HeaderSearch(Col As Int)
Log("HeaderSearch")
End Sub
Event declared by this module. Handle the indicated action in the callback.
B4A handler signature with Demo prefix
Private Sub Demo_FillRange(Fill As UITableFillRange)
Log("FillRange")
End Sub
For code-created controls use Initialize(Me, "Demo") when that signature exists; for Designer controls set the event name there. Replace Demo with the actual prefix.
Public FontSize As FloatPublic Alignment As IntPublic ColumnSeparatorColor As Int = Colors.Gray