Android Question Doubt in the Flexible Table

Mauricio Pereira

Member
Licensed User
In the small attached program where I am testing the use of the Flexible table, I was unable to solve the following problem: when I click on a cell the row and the cell are highlighted what is desired. If I click on another cell on another line, the first is deselected and the new line / cell is highlighted. However, if the second cell is on the same line as the first, the line / cell is deselected but the new clicked cell (in then same row) is not highlighted. Only by clicking again will the line / cell be highlighted.
Is it normal or am I making a mistake?
 

Attachments

klaus

Expert
Licensed User
It is normal with your settings.
You had ZeroSelection checked, I unchecked it and it works as you expect it.

1596301901297.png


1596302042732.png
ZeroSelection checked means that when you reselect a selected line it becomes unselected.

Attached the modified project.
 

Attachments

Mauricio Pereira

Member
Licensed User
Klaus,
Can we use the Flexible Table to select, by code, a cell, that is, highlighting, without clicking on it ?
Thanks for listening.
 
Top