Is there a way to set the visibility of a B4XTable column?
I have found some examples of 'hiding' columns but they just seem to be deleting it; I want the column to exist but not be visible.
Saw another example that suggested setting the Width to zero but it seems to always be set to zero and explicitly setting it did not help.
CalculatedWidth seems to have a value but setting that to zero has no effect either.
Hi there... Well many of us need/asking column resizing... but noone do the start... well I ve decided to start... but hey... need help.. I think is a good start... need a lot of fixes and your ideas... I am uploading an example - and give you my notes here... What works.... - Resizing...
Hi there... Well many of us need/asking column resizing... but noone do the start... well I ve decided to start... but hey... need help.. I think is a good start... need a lot of fixes and your ideas... I am uploading an example - and give you my notes here... What works.... - Resizing...
www.b4x.com
last width save at array...
B4X:
Dim cc As B4XTableColumn=B4XTable1.visibleColumns.Get(k)
lastcolwidth(k)=cc.Width 'k is your column, lastcolwidth() an integer array
Hopefully, @Magma or @aeric took care of your problem, but If you are still looking for a solutio, see my code (it works) in post #5 or Jeffrey's code in post #8 in this thread link:
I'm having issues showing/hiding a table column after the table has been filled (and yes, I have looked at the examples here and I can replicate this issue using the B4XTableExample program). I've attached a small test program for convenience but the images below will illustrate. Before hiding...