B4A Library [Class] Flexible Table

Sergey_New

Active Member
Licensed User
Pay attention to the background when hiding the keyboard in the above example.
If the table is visible, then the background color (for about 0.5 seconds) is white, if invisible, then the background color corresponds to the color of the activity. A table with or without data does not matter.
 

klaus

Expert
Licensed User
I see too a white screen when clicking on OK in the Input dialog.
But the behaviour is exactly the same with the table hidden or visible.
I made a layout without the Table object and the behaviour is the same.
To me it looks like a problem during the transition between the two dialogs.
 

Sergey_New

Active Member
Licensed User
Yes, there is blinking on the "OK" button, but much shorter. On the "Cancel" button - as I wrote above, it depends on the presence of the table.
 

klaus

Expert
Licensed User
Sorry, but on my device i don't see any difference, i cannot reproduce it.
I asked my wife if she sees any difference, the answer is no.
I tested it also on my tablet Samsung T2, no difference !?

Therefore, sorry, but don't know how i could help.
Which version of Android do you use?
Do you see also in Release mode?
 

Sergey_New

Active Member
Licensed User
Checked on a low (HTC One X - 4.2.2 - API 17) emulator in debug and release modes, as my application works from this version.
Tested on Samsung Galaxy S7 (Android versions 6 and 8), this effect has almost disappeared.
Thanks for checking.
 

klaus

Expert
Licensed User
This is and will not be possible directly.
And, for me, this is not a functionality for this kind of class but a more general functionality.
In your application you can take a screenshot and send it via e-mail.
 

stu14t

Active Member
Licensed User
Has anyone used Statemanager with the Flexible Table? Just looking for best way to implement this.
 

stu14t

Active Member
Licensed User
After thinking about it I've just saved the table to CSV outside of StateManager and then re-loaded it once the StateManager has finished re-drawing the views.
 

yuhaowang

Member
I ran Table4.RefreshTable, and as a result, all the data in the previous rows were overwritten with the data in the last row of Table4. What are the reasons and how to solve them?
 

Sergey_New

Active Member
Licensed User
Tell me if it is possible to write the following text into a table cell:
B4X:
Dim cs As CSBuilder
cs.Initialize.Color (Colors.Red) .Typeface (Typeface.FONTAWESOME) .Append (Chr (0xF221)). Color (Colors.Black) .Append (" ") .Append ("Name"). PopAll
 

klaus

Expert
Licensed User
I ran Table4.RefreshTable, and as a result, all the data in the previous rows were overwritten with the data in the last row of Table4. What are the reasons and how to solve them?
Sorry, I missed your post.
Without seeing your code, what exactly you have done and how it is impossible to give a concrete advice.
 

klaus

Expert
Licensed User
Tell me if it is possible to write the following text into a table cell:
I don't know, I have never tested it.
The cells are Labels.
To fill a row you need to use the AddRow(Values() As String) method.
It expects an Array of strings.
I don't know if CSBuilder.ToString works, try it and you will see.
 
Top