Class

# AndroidMobileTable

<div class="rst-class">

forsearch

</div>

AndroidMobileTable

<div class="rst-class">

forsearch

</div>

Listbox

<div class="rst-class">

forsearch

</div>

Table

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

An <span class="title-ref">AndroidMobileTable</span> is used for displaying a list of data.

## Properties

<div class="rst-class">

table-centered_columns_3_and_4

</div>

| Name                                                        | Type                                                          | Read-Only | Shared |
|-------------------------------------------------------------|---------------------------------------------------------------|-----------|--------|
| `AccessibilityHint<androidmobiletable.accessibilityhint>`   | `String</api/data_types/string>`                              |           |        |
| `AccessibilityLabel<androidmobiletable.accessibilitylabel>` | `String</api/data_types/string>`                              |           |        |
| `Enabled<androidmobiletable.enabled>`                       | `Boolean</api/data_types/boolean>`                            |           |        |
| `HasHeader<androidmobiletable.hasheader>`                   | `Boolean</api/data_types/boolean>`                            |           |        |
| `Header<androidmobiletable.header>`                         | `String</api/data_types/string>`                              |           |        |
| `HeaderFont<androidmobiletable.headerfont>`                 | `Font</api/graphics/font>`                                    |           |        |
| `Height<androidmobiletable.height>`                         | `Integer</api/data_types/integer>`                            |           |        |
| `LastAddedRowIndex<androidmobiletable.lastaddedrowindex>`   | `Integer</api/data_types/integer>`                            | ✓         |        |
| `LastRowIndex<androidmobiletable.lastaddedrowindex>`        | `Integer</api/data_types/integer>`                            | ✓         |        |
| `Left<androidmobiletable.left>`                             | `Integer</api/data_types/integer>`                            |           |        |
| `LockBottom<androidmobiletable.lockbottom>`                 | `Boolean</api/data_types/boolean>`                            |           |        |
| `LockLeft<androidmobiletable.lockleft>`                     | `Boolean</api/data_types/boolean>`                            |           |        |
| `LockRight<androidmobiletable.lockright>`                   | `Boolean</api/data_types/boolean>`                            |           |        |
| `LockTop<androidmobiletable.locktop>`                       | `Boolean</api/data_types/boolean>`                            |           |        |
| `Name<androidmobiletable.name>`                             | `String</api/data_types/string>`                              | ✓         |        |
| `Parent<androidmobiletable.parent>`                         | `MobileUIControl</api/user_interface/mobile/mobileuicontrol>` | ✓         |        |
| `RowDetailFont<androidmobiletable.rowdetailfont>`           | `Font</api/graphics/font>`                                    |           |        |
| `RowTextFont<androidmobiletable.rowtextfont>`               | `Font</api/graphics/font>`                                    |           |        |
| `ScrollPosition<androidmobiletable.scrollposition>`         | `Integer</api/data_types/integer>`                            |           |        |
| `SelectedRowIndex<androidmobiletable.selectedrowindex>`     | `Integer</api/data_types/integer>`                            |           |        |
| `SelectedRowText<androidmobiletable.selectedrowtext>`       | `String</api/data_types/string>`                              |           |        |
| `SeparatorColor<androidmobiletable.separatorcolor>`         | `ColorGroup</api/graphics/colorgroup>`                        |           |        |
| `SeparatorThickness<androidmobiletable.separatorthickness>` | `Integer</api/data_types/integer>`                            |           |        |
| `Top<androidmobiletable.top>`                               | `Integer</api/data_types/integer>`                            |           |        |
| `Visible<androidmobiletable.visible>`                       | `Boolean</api/data_types/boolean>`                            |           |        |
| `Width<androidmobiletable.width>`                           | `Integer</api/data_types/integer>`                            |           |        |

## Methods

<div class="rst-class">

table-centered_column_4

</div>

| Name                                                            | Parameters                                                                                                                                                                                                                                          | Returns                                     | Shared |
|-----------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|--------|
| `AddRow<androidmobiletable.addrow>`                             | value As `String</api/data_types/string>`, detail As `String</api/data_types/string>` = ""                                                                                                                                                          |                                             |        |
| `AddRowAt<androidmobiletable.addrowat>`                         | row As `Integer</api/data_types/integer>`, value As `String</api/data_types/string>`, detail As `String</api/data_types/string>` = ""                                                                                                               |                                             |        |
| `ClearFocus<androidmobiletable.clearfocus>`                     |                                                                                                                                                                                                                                                     |                                             |        |
| `Constructor<androidmobiletable.constructor0>`                  |                                                                                                                                                                                                                                                     |                                             |        |
| `Handle<androidmobiletable.handle>`                             |                                                                                                                                                                                                                                                     | `Ptr</api/data_types/additional_types/ptr>` |        |
| `Refresh<androidmobiletable.refresh>`                           |                                                                                                                                                                                                                                                     |                                             |        |
| `RemoveAllRows<androidmobiletable.removeallrows>`               |                                                                                                                                                                                                                                                     |                                             |        |
| `RemoveRowAt<androidmobiletable.removerowat>`                   | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           |                                             |        |
| `RowCount<androidmobiletable.rowcount>`                         |                                                                                                                                                                                                                                                     | `Integer</api/data_types/integer>`          |        |
| `RowBackgroundColorAt<androidmobiletable.rowbackgroundcolorat>` | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Color</api/data_types/color>`              |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Color</api/data_types/color>`                                                                                                                                 |                                             |        |
| `RowBoldAt<androidmobiletable.rowBoldat>`                       | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Boolean</api/data_types/boolean>`          |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Boolean</api/data_types/boolean>`                                                                                                                             |                                             |        |
| `RowDetailAt<androidmobiletable.rowdetailat>`                   | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `String</api/data_types/string>`            |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `String</api/data_types/string>`                                                                                                                               |                                             |        |
| `RowDetailColorAt<androidmobiletable.rowdetailcolorat>`         | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Color</api/data_types/color>`              |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Color</api/data_types/color>`                                                                                                                                 |                                             |        |
| `RowDetailTagAt<androidmobiletable.rowdetailtagat>`             | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Variant</api/data_types/variant>`          |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Variant</api/data_types/variant>`                                                                                                                             |                                             |        |
| `RowPictureAt<androidmobiletable.rowpictureat>`                 | row As `Integer</api/data_types/integer>`, onRight As `Boolean</api/data_types/boolean>` = `False</api/language/false>`                                                                                                                             | `Picture</api/graphics/picture>`            |        |
|                                                                 | row As `Integer</api/data_types/integer>`, onRight As `Boolean</api/data_types/boolean>` = `False</api/language/false>`, marginSize As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` pic As `Picture</api/graphics/picture>` |                                             |        |
|                                                                 | row As `Integer</api/data_types/integer>`, onRight As `Boolean</api/data_types/boolean>` = `False</api/language/false>`, `Assigns</api/language/assigns>` pic As `Picture</api/graphics/picture>`                                                   |                                             |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` pic As `Picture</api/graphics/picture>`                                                                                                                                 |                                             |        |
| `RowTagAt<androidmobiletable.rowtagat>`                         | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Variant</api/data_types/variant>`          |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Variant</api/data_types/variant>`                                                                                                                             |                                             |        |
| `RowTextAlignmentAt<androidmobiletable.rowtextalignmentat>`     | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Alignments<androidmobiletable.alignments>` |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` alignment As `Alignments<androidmobiletable.alignments>`                                                                                                                |                                             |        |
| `RowTextAt<androidmobiletable.rowtextat>`                       | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `String</api/data_types/string>`            |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `String</api/data_types/string>`                                                                                                                               |                                             |        |
| `RowTextColorAt<androidmobiletable.rowtextcolorat>`             | row As `Integer</api/data_types/integer>`                                                                                                                                                                                                           | `Color</api/data_types/color>`              |        |
|                                                                 | row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Color</api/data_types/color>`                                                                                                                                 |                                             |        |
| `SetFocus<androidmobiletable.setfocus>`                         |                                                                                                                                                                                                                                                     |                                             |        |

## Events

<div class="rst-class">

table-centered_column_3

</div>

| Name                                                    | Parameters | Returns |
|---------------------------------------------------------|------------|---------|
| `Closing<androidmobiletable.closing>`                   |            |         |
| `Opening<androidmobiletable.opening>`                   |            |         |
| `SelectionChanged<androidmobiletable.selectionchanged>` |            |         |

## Enumerations

<div id="androidmobiletable.alignments">

<div class="rst-class">

forsearch

</div>

</div>

AndroidMobileTable.Alignments

### Alignments

> Used to indicate how text in a row should be aligned.
>
> | Enum      | Description                                    |
> |-----------|------------------------------------------------|
> | Center    | The cell value will be center-aligned.         |
> | Justified | The text is fully justified.                   |
> | Left      | The cell value will be left-justified.         |
> | Natural   | The default alignment as specified by Android. |
> | Right     | The cell value will be right-justified.        |

## Property descriptions

<div id="androidmobiletable.accessibilityhint">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.AccessibilityHint

**AccessibilityHint** As `String</api/data_types/string>`

> The accessibility hint is a longer description that is read aloud when VoiceOver is enabled.
>
> ``` xojo
> Me.AccessibilityHint = "Click to calculate the value and display the next screen."
> ```
>
> <div class="important">
>
> <div class="title">
>
> Important
>
> </div>
>
> This property is not currently supported for Android.
>
> </div>

<div id="androidmobiletable.accessibilitylabel">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.AccessibilityLabel

**AccessibilityLabel** As `String</api/data_types/string>`

> The accessibility label of of a control is a short name that is read aloud when VoiceOver is enabled.
>
> ``` xojo
> Me.AccessibilityLabel = "Calculate the value."
> ```

<div id="androidmobiletable.enabled">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Enabled

**Enabled** As `Boolean</api/data_types/boolean>`

> Indicates whether the control is enabled or disabled.
>
> Disable the button:
>
> ``` xojo
> Button1.Enabled = False
> ```

<div id="androidmobiletable.hasheader">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.HasHeader

**HasHeader** As `Boolean</api/data_types/boolean>`

> Indicates whether header area of the table appears or not. The default is `False</api/language/false>`.

<div id="androidmobiletable.header">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Header

**Header** As `String</api/data_types/string>`

> The caption of the table header.

<div id="androidmobiletable.headerfont">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.HeaderFont

**HeaderFont** As `Font</api/graphics/font>`

> The name of the font used to draw the header.

<div id="androidmobiletable.height">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Height

**Height** As `Integer</api/data_types/integer>`

> The height of the control.

<div id="androidmobiletable.lastaddedrowindex">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.lastaddedrowindex

**LastAddedRowIndex** As `Integer</api/data_types/integer>`

> The row number of the row last added by the `AddRow<androidmobiletable.addrow>` or `AddRowAt<androidmobiletable.addrowat>` methods.
>
> This property is read-only.

<div id="androidmobiletable.lastrowindex">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.lastrowindex

**LastRowIndex** As `Integer</api/data_types/integer>`

> The row number of the row in the table.
>
> This property is read-only.

<div id="androidmobiletable.left">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Left

**Left** As `Integer</api/data_types/integer>`

> The left position of the control.

<div id="androidmobiletable.lockbottom">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.LockBottom

**LockBottom** As `Boolean</api/data_types/boolean>`

> Determines whether the bottom edge of the control should stay at a set distance from the bottom edge of the parent control, if there is one, or the owning layout.
>
> This property can be set in the control's Inspector. The following example sets it in code.
>
> ``` xojo
> Me.LockBottom = True
> ```

<div id="androidmobiletable.lockleft">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.LockLeft

**LockLeft** As `Boolean</api/data_types/boolean>`

> Determines whether the left edge of the control should stay at a set distance from the left edge of the parent control, if there is one, or the owning layout.
>
> LockLeft and Locktop default to `True</api/language/true>` when you add a new control to a layout. Existing controls will be altered only if LockRight and/or LockBottom are not set. *LockLeft* has no effect unless *LockRight* is `True</api/language/true>`.
>
> This property can be set in the control's Inspector. The following example sets it in code.
>
> ``` xojo
> Me.LockLeft = True
> ```

<div id="androidmobiletable.lockright">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.LockRight

**LockRight** As `Boolean</api/data_types/boolean>`

> Determines whether the right edge of the control should stay at a set distance from the right edge of the parent control, if there is one, or the owning layout.
>
> This property can be set in the control's Inspector. The following example sets it in code.
>
> ``` xojo
> Me.LockRight = True
> ```

<div id="androidmobiletable.locktop">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.LockTop

**LockTop** As `Boolean</api/data_types/boolean>`

> Determines whether the top edge of the control should stay at a set distance from the top edge of the parent control, if there is one, or the owning layout.
>
> LockTop and LockLeft default to `True</api/language/true>` when you add a control to a layout. Existing controls will be altered only if LockRight and/or LockBottom are not set. *LockTop* has no effect unless *LockBottom* is `True</api/language/true>`.
>
> This property can be set in the control's Inspector. The following example sets it in code.
>
> ``` xojo
> Me.LockTop = True
> ```

<div id="androidmobiletable.name">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Name

**Name** As `String</api/data_types/string>`

> The name of the control.
>
> This property is read-only.

<div id="androidmobiletable.parent">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Parent

**Parent** As `MobileUIControl</api/user_interface/mobile/mobileuicontrol>`

> The parent (sometimes called a "Super") class of the control.
>
> This property is read-only.

<div id="androidmobiletable.rowdetailfont">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailFont

**RowDetailFont** As `Font</api/graphics/font>`

> The font used to draw the row detail.

<div id="androidmobiletable.rowtextfont">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextFont

**RowTextFont** As `Font</api/graphics/font>`

> The font used to draw the row text.

<div id="androidmobiletable.scrollposition">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.ScrollPosition

**ScrollPosition** As `Integer</api/data_types/integer>`

> The row index/number of the first visible row in the table.

<div id="androidmobiletable.selectedrowindex">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.SelectedRowIndex

**SelectedRowIndex** As `Integer</api/data_types/integer>`

> The row index/number of the last row tapped by the user or set via <span class="title-ref">SelectedRowIndex</span>.

<div id="androidmobiletable.selectedrowtext">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.SelectedRowText

**SelectedRowText** As `String</api/data_types/string>`

> The text of the last row tapped by the user or set via `SelectedRowIndex<androidmobiletable.selectedrowindex>`.

<div id="androidmobiletable.separatorcolor">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.SeparatorColor

**SeparatorColor** As `ColorGroup</api/graphics/colorgroup>`

> The `ColorGroup</api/graphics/colorgroup>` that provides the color of the line that separates rows in the table.

<div id="androidmobiletable.separatorthickness">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.SeparatorThickness

**SeparatorThickness** As `Integer</api/data_types/integer>`

> The thickness of the line that separates rows in the table. The default value is 1.
>
> There does not appear to be any upper limit to the thickness.

<div id="androidmobiletable.top">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Top

**Top** As `Integer</api/data_types/integer>`

> The top position of the control.

<div id="androidmobiletable.visible">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Visible

**Visible** As `Boolean</api/data_types/boolean>`

> Indicates whether the control is visible.
>
> Make a button invisible:
>
> ``` xojo
> Button1.Visible = False
> ```

<div id="androidmobiletable.width">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Width

**Width** As `Integer</api/data_types/integer>`

> The width of the control.

## Method descriptions

<div id="androidmobiletable.addrow">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.AddRow

**AddRow**(value As `String</api/data_types/string>`, detail As `String</api/data_types/string>` = "")

> Adds a new row with the *value* passed.
>
> Adds five rows to a table:
>
> ``` xojo
> For i As Integer = 0 To 4
> Table1.AddRow("Row " + i.ToString)
> Next
> ```

<div id="androidmobiletable.addrowat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.AddRowAt

**AddRowAt**(row As `Integer</api/data_types/integer>`, value As `String</api/data_types/string>`, detail As `String</api/data_types/string>` = "")

> Adds a new row with the *value* at the *row* index.
>
> ``` xojo
> Table1.AddRowAt(12, "Hello World!")
> ```
>
> Add a row in the first position of the Table:
>
> ``` xojo
> Table1.AddRowAt(0, "First Row")
> ```

<div id="androidmobiletable.clearfocus">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.ClearFocus

**ClearFocus**

> Removes the focus from the control.
>
> ``` xojo
> TextField1.ClearFocus
> ```

<div id="androidmobiletable.constructor0">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Constructor

**Constructor**

> <div class="note">
>
> <div class="title">
>
> Note
>
> </div>
>
> `Constructors</api/language/constructor>` are special methods called when you create an object with the `New</api/language/new>` keyword and pass in the parameters above.
>
> </div>
>
> Creates a table with the specified format.

<div id="androidmobiletable.handle">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Handle

**Handle** As `Ptr</api/data_types/additional_types/ptr>`

> The handle to the underlying native OS control.

<div id="androidmobiletable.refresh">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Refresh

**Refresh**

> Marks the control so that it will be redrawn during the next event loop.
>
> Call Refresh to force a Canvas to redraw itself:
>
> ``` xojo
> Canvas1.Refresh
> ```

<div id="androidmobiletable.removeallrows">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RemoveAllRows

**RemoveAllRows**

> Removes all rows from the table.
>
> Remove all rows:
>
> ``` xojo
> Table1.RemoveAllRows
> ```

<div id="androidmobiletable.removerowat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RemoveRowAt

**RemoveRowAt**(row As `Integer</api/data_types/integer>`)

> Removes the *row* at the index passed.
>
> Removes row 4:
>
> ``` xojo
> Table1.RemoveRowAt(4)
> ```

<div id="androidmobiletable.rowcount">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowCount

**RowCount** As `Integer</api/data_types/integer>`

> The number of rows in the table.
>
> Get the counts of rows:
>
> ``` xojo
> Var rowCount As Integer
> rowCount = Table1.RowCount
> ```

<div id="androidmobiletable.rowbackgroundcolorat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowBackgroundColorAt

**RowBackgroundColorAt**(row As `Integer</api/data_types/integer>`) As `Color</api/data_types/color>`

> The background `color</api/data_types/color>` of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowBackgroundColorAt

**RowBackgroundColorAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Color</api/data_types/color>`)

> Assigns the `color</api/data_types/color>` as the background `color</api/data_types/color>` of the *row* specified.
>
> Sets the background of first row to red:
>
> ``` xojo
> Table1.RowBackgroundColorAt(0) = Color.Red
> ```

<div id="androidmobiletable.rowboldat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowBoldAt

**RowBoldAt**(row As `Integer</api/data_types/integer>`) As `Boolean</api/data_types/boolean>`

> Indicates if the font style of the *row* specified is bold or not.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowBoldAt

**RowBoldAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Boolean</api/data_types/boolean>`)

> Sets the font style of the *row* specified to bold (`True</api/language/true>`) or plain (`false</api/language/false>`).
>
> Set the font style of the first row to bold:
>
> ``` xojo
> Table1.RowBoldAt(0) = True
> ```

<div id="androidmobiletable.rowdetailat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailAt

**RowDetailAt**(row As `Integer</api/data_types/integer>`) As `String</api/data_types/string>`

> The text of the detail section of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailAt

**RowDetailAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `String</api/data_types/string>`)

> Sets the text in the detail section of the *row* specified to the *value* assigned.
>
> Set the detail section of the first row:
>
> ``` xojo
> Table1.RowDetailAt(0) = "Hey, this is the first row!"
> ```

<div id="androidmobiletable.rowdetailcolorat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailColorAt

**RowDetailColorAt**(row As `Integer</api/data_types/integer>`) As `Color</api/data_types/color>`

> The `color</api/data_types/color>` of the detail text of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailColorAt

**RowDetailColorAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Color</api/data_types/color>`)

> Assigns the `color</api/data_types/color>` as the `color</api/data_types/color>` of the detail text *row* specified.
>
> Sets the detail text color of first row to red:
>
> ``` xojo
> Table1.RowDetailColorAt(0) = Color.Red
> ```

<div id="androidmobiletable.rowdetailtagat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailTagAt

**RowDetailTagAt**(row As `Integer</api/data_types/integer>`) As `Variant</api/data_types/variant>`

> The value of the tag for the detail of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowDetailTagAt

**RowDetailTagAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Variant</api/data_types/variant>`)

> Assigns a *value* to the tag of the *row* specified.
>
> Sets the tag of the detail of the first row to 42:
>
> ``` xojo
> Table1.RowDetailTagAt(0) = 42
> ```

<div id="androidmobiletable.rowpictureat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowPictureAt

**RowPictureAt**(row As `Integer</api/data_types/integer>`, onRight As `Boolean</api/data_types/boolean>` = `False</api/language/false>`) As `Picture</api/graphics/picture>`

> The picture (if any) on the right side of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowPictureAt

**RowPictureAt**(row As `Integer</api/data_types/integer>`, onRight As `Boolean</api/data_types/boolean>` = `False</api/language/false>`, marginSize As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` pic As `Picture</api/graphics/picture>`)

> Assigns the picture to the side of the *row* and with the *margin* specified.
>
> Sets the right-side picture of the first row to the picture in named checkmark with a margin of 2:
>
> ``` xojo
> Table1.RowPictureAt(0, True, 2) = checkmark
> ```

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowPictureAt

**RowPictureAt**(row As `Integer</api/data_types/integer>`, onRight As `Boolean</api/data_types/boolean>` = `False</api/language/false>`, `Assigns</api/language/assigns>` pic As `Picture</api/graphics/picture>`)

> Assigns the picture to the side of the *row* specified.
>
> Sets the right-side picture of the first row to the picture in named checkmark:
>
> ``` xojo
> Table1.RowPictureAt(0, True) = checkmark
> ```

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowPictureAt

**RowPictureAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` pic As `Picture</api/graphics/picture>`)

> Assigns the picture to the left side of the *row* specified.
>
> Sets the left-side picture of the first row to the picture in named checkmark:
>
> ``` xojo
> Table1.RowPictureAt(0) = checkmark
> ```

<div id="androidmobiletable.rowtagat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTagAt

**RowTagAt**(row As `Integer</api/data_types/integer>`) As `Variant</api/data_types/variant>`

> The value of the tag of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTagAt

**RowTagAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Variant</api/data_types/variant>`)

> Assigns a *value* to the tag of the *row* specified.
>
> Sets the tag for the first row to 42:
>
> ``` xojo
> Table1.RowTagAt(0) = 42
> ```

<div id="androidmobiletable.rowtextalignmentat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextAlignmentAt

**RowTextAlignmentAt**(row As `Integer</api/data_types/integer>`) As `Alignments<androidmobiletable.alignments>`

> The `alignment<androidmobiletable.alignments>` of the text of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextAlignmentAt

**RowTextAlignmentAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` alignment As `Alignments<androidmobiletable.alignments>`)

> Assigns the `alignment<androidmobiletable.alignments>` of the text of the *row* specified.
>
> Sets the text alignment of the first row to center:
>
> ``` xojo
> Table1.RowTextAlignmentAt(0) = AndroidMobileTable.Alignments.Center
> ```

<div id="androidmobiletable.rowtextat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextAt

**RowTextAt**(row As `Integer</api/data_types/integer>`) As `String</api/data_types/string>`

> The text of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextAt

**RowTextAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `String</api/data_types/string>`)

> Sets the text of the *row* specified to the *value* assigned.
>
> Set the text of the first row:
>
> ``` xojo
> Table1.RowTextAt(0) = "Hey, this is the first row!"
> ```

<div id="androidmobiletable.rowtextcolorat">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextColorAt

**RowTextColorAt**(row As `Integer</api/data_types/integer>`) As `Color</api/data_types/color>`

> The `color</api/data_types/color>` of the text of the *row* specified.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.RowTextColorAt

**RowTextColorAt**(row As `Integer</api/data_types/integer>`, `Assigns</api/language/assigns>` value As `Color</api/data_types/color>`)

> Assigns the `color</api/data_types/color>` of the text of the *row* specified.
>
> Sets the text color of first row to red:
>
> ``` xojo
> Table1.RowTextColorAt(0) = Color.Red
> ```

<div id="androidmobiletable.setfocus">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.SetFocus

**SetFocus**

> Sets the focus to the control.
>
> ``` xojo
> TextField1.SetFocus
> ```

## Event descriptions

<div id="androidmobiletable.closing">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Closing

**Closing**

> Called when the control's layout is closing.

<div id="androidmobiletable.opening">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.Opening

**Opening**

> Called when the control's layout is opening.
>
> This is where you typically put initialization code.
>
> This example in the Opening event sets the table's separator color to red:
>
> ``` xojo
> Me.SeparatorColor = Color.Red
> ```

<div id="androidmobiletable.selectionchanged">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

AndroidMobileTable.SelectionChanged

**SelectionChanged**

> A row selection is changed by the user or by code.
>
> Also, changing `SelectedRowIndex<androidmobiletable.selectedrowindex>` via code also triggers the SelectionChanged event.

## Notes

An <span class="title-ref">AndroidMobileTable</span> has only a single column of cells so by default it can only show one column of data.

## Sample code

Add five rows to a table:

``` xojo
' Simple usage
For i As Integer = 0 To 4
  Table1.AddRow("Row " + i.ToString)
Next
```

## Compatibility

|                       |         |
|-----------------------|---------|
| **Project Types**     | Mobile  |
| **Operating Systems** | Android |

<div id="androidmobiletable/see_also">

<div class="seealso">

`MobileUIControl</api/user_interface/mobile/mobileuicontrol>` parent class

</div>

</div>
