Android Question Highlight a Row on the Excel Example

Bachrock

Member
Licensed User
Longtime User
Hi,

I have downloaded the Excel example and have it working well with an excel file that I created. What I would like to do is highlight a row light grey when the row is clicked on. This would indicated the row selected.

Please advise.

Thank You.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
This is already implemented (in the Table class):
 

Attachments

  • upload_2013-10-14_7-57-4.png
    upload_2013-10-14_7-57-4.png
    53.8 KB · Views: 214
Upvote 0

Bachrock

Member
Licensed User
Longtime User
This is already implemented (in the Table class):
Hmmm Ok, I must have uploaded the wrong one then or something because when I click on a cell it fills the cell with the xx's but the row does not highlight. I will try to upload again. Do you have a link to the most recent example?

Thanks
 
Upvote 0

Bachrock

Member
Licensed User
Longtime User
Hmmm Ok, I must have uploaded the wrong one then or something because when I click on a cell it fills the cell with the xx's but the row does not highlight. I will try to upload again. Do you have a link to the most recent example?

Thanks
Erel... I apologize I found out what I did wrong. I re-uploaded the example and it is working. However what I would like to do now is use a button to scroll down the list. So the button would be labeled "NEXT" for example and when press it would move the highlighted row down one. So the operator could scroll down thru the list. Please advise.

Thank You .
 
Upvote 0

Bachrock

Member
Licensed User
Longtime User
There is a private sub named SelectRow in Table class. You can make it public. It will allow you to select a row.
Erel. Thanks for the tip. I did as you suggested and was able to make it work as I wanted. Awesome.... I am all set.:)
 
Upvote 0
Top