Android Question Is it possible to use a ChoiceBox in a B4XTable column?

Mikelgiles

Active Member
Licensed User
Longtime User
I have a B4XTable in B4J using InputTemplate for input and would like to control input on a few columns by offering legitimate choices in a list. Or is there some way to do it in InputTemplate?
 

mangojack

Expert
Licensed User
Longtime User
I have a B4XTable in B4J using InputTemplate for input and would like to control input on a few columns by offering legitimate choices in a list. Or is there some way to do it in InputTemplate?


This is a basic example of adding a Choice Box to a table column.

It is based on https://www.b4x.com/android/forum/threads/b4x-b4xtable-with-custom-cells-layout.102352/#content
(more specifically an example B4XTable with Checkboxes ... but I cannot re-locate that thread/example)

At the least it will give you an idea as to the possibilities and obviously will have to be adapted to suit your needs.

Note ! : There is an issue if this column is also a Sortable Column ... Column.Sortable = True , But I have run out of time today.


PS... Possibly your question(s) should be posted in the B4J forum

Cheers
 

Attachments

  • B4XTable with Choice.zip
    2.9 KB · Views: 127
Upvote 0
Top