a.)
In a B4A application, in a B4XTable, I am trying to have one frozen column (something like a Header) and just one selected column (there are 3 of them).
Say I choose to show "Col2" besides the frozen column, hiding other columns (except first one): and that is showing OK,
the only thing I am after is " how to "lock" or disable the horizontal scroll of it ?.
When it shows up, if you click and drag it the column will slide in that direction.
b.)
I can not figure out where my error is when I try to show "Col3" (that is the last column added initially) I get this log"
I have attached the B4A code I am using for testing ( actually a modified example from this forum).
In a B4A application, in a B4XTable, I am trying to have one frozen column (something like a Header) and just one selected column (there are 3 of them).
Say I choose to show "Col2" besides the frozen column, hiding other columns (except first one): and that is showing OK,
the only thing I am after is " how to "lock" or disable the horizontal scroll of it ?.
When it shows up, if you click and drag it the column will slide in that direction.
b.)
I can not figure out where my error is when I try to show "Col3" (that is the last column added initially) I get this log"
b4xtable_resizeandreorderclvitems (java line: 2248)
' java.lang.RuntimeException: Object should first be initialized (View).
' Did you forget to call Activity.LoadLayout?
' at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
' at anywheresoftware.b4a.objects.B4XViewWrapper.GetView(B4XViewWrapper.java:318)
' at b4a.example3.customlistview._getpanel(customlistview.java:440)
' ...
' java.lang.RuntimeException: Object should first be initialized (View).
' Did you forget to call Activity.LoadLayout?
' at anywheresoftware.b4a.AbsObjectWrapper.getObject(AbsObjectWrapper.java:67)
' at anywheresoftware.b4a.objects.B4XViewWrapper.GetView(B4XViewWrapper.java:318)
' at b4a.example3.customlistview._getpanel(customlistview.java:440)
' ...
I have attached the B4A code I am using for testing ( actually a modified example from this forum).