Android Question remove the header (Browser) of B4XTable?

jimmyF

Active Member
Licensed User
Longtime User
Sleep(0)
B4XTable1.pnlHeader.Visible = False

I tried this in Activity_Create after creating the instance of the EditableTable class containing the B4XTable.
I tried it in the B4XTable Initialize sub after the table had been created.
Both gave me the same error response:

B4X:
java.lang.RuntimeException: Object should first be initialized (B4XView).


I tried it in the B4XTable1_DataUpdated sub.

No error but headers still visible.
 
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
Perhaps I misunderstood.
In the B4XTable1_DataUpdated sub it removes the Navigation arrows and search box.
The Table Headers are still there
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
java.lang.RuntimeException: Object should first be initialized (B4XView).

I tried it in the B4XTable1_DataUpdated sub.

No error but headers still visible.
It works for me with no issues. Maybe because you are using your own modified class as you alluded to a while back, instead the B4XTable lib 1.15
 
Upvote 0

jimmyF

Active Member
Licensed User
Longtime User
you are using your own modified class
No, I am using the latest B4XTable lib 1.15 in a class. The B4XTable lib is up-to-date.

I misinterpreted the request.
I thought the request was to make the table headers invisible and NOT the Navigation arrows and search box.
 
Upvote 0
Top