J Jesus Gonzalez New Member Jun 6, 2019 #1 good morning coworkers, my question is: is there a way to remove the header (Browser) of B4XTable?
Erel B4X founder Staff member Licensed User Longtime User Jun 7, 2019 #2 Add this after you create the table: Code: Copy Sleep(0) B4XTable1.pnlHeader.Visible = False Upvote 0
jimmyF Active Member Licensed User Longtime User Jun 7, 2019 #3 Erel said: Sleep(0) B4XTable1.pnlHeader.Visible = False Click to expand... 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: Code: Copy 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
Erel said: Sleep(0) B4XTable1.pnlHeader.Visible = False Click to expand... 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: Code: Copy java.lang.RuntimeException: Object should first be initialized (B4XView). I tried it in the B4XTable1_DataUpdated sub. No error but headers still visible.
jimmyF Active Member Licensed User Longtime User Jun 7, 2019 #4 Perhaps I misunderstood. In the B4XTable1_DataUpdated sub it removes the Navigation arrows and search box. The Table Headers are still there Upvote 0
Perhaps I misunderstood. In the B4XTable1_DataUpdated sub it removes the Navigation arrows and search box. The Table Headers are still there
M Mahares Expert Licensed User Longtime User Jun 7, 2019 #5 jimmyF said: java.lang.RuntimeException: Object should first be initialized (B4XView). I tried it in the B4XTable1_DataUpdated sub. No error but headers still visible. Click to expand... 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 said: java.lang.RuntimeException: Object should first be initialized (B4XView). I tried it in the B4XTable1_DataUpdated sub. No error but headers still visible. Click to expand... 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
jimmyF Active Member Licensed User Longtime User Jun 7, 2019 #6 Mahares said: you are using your own modified class Click to expand... 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
Mahares said: you are using your own modified class Click to expand... 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.