No Works
Bummer. WebListBox is a different beast than the desktop one. It may be that the zero-width column trick of the desktop listbox doesnât translate well to the web. But I really havenât tried it yet.
I was unable to successfully use âhiddenâ columns in WE apps like we can in desktop apps and I donât believe that it is supported. You need to come up with a different method for tracking the hidden fields in a web app. I turned to an array of a class that has fields to match the columns.
Thanks Tim I was freaking sought if I was doing something wrong i see.
I recently renew the subscription thinking it would get better but I see is more of the same problems when I walk one step ahead i encounter another problem or bug.
I am a little frustrated
You canât use zero to hide columns in a WebListBox. They have an intrinsic width that is equal to the padding that is naturally around every cell.
Hi Tim i found how it get working fine
From this ColumnWidths 24%,40%,0%,8%,8%,10%,10%,0%,0% move all Columns to hide to the end like
ColumnWidths 24%,40%,8%,8%,10%,10%,0%,0%,0%
It work
What are you trying to achieve by hiding the columns? Data storage? Display the data by simply resizing the columns?
storage data with out Display
Put that data into a class object and store it in RowTag.
Hi Tim
why spend more time programming assuming that the listbox has the ability to do it.
this sound like little frustrated.
I do not like when I was looking for alternatives that Xojo should be able to do it without any problem.
for all this you pay a price for everything to work differently
if I have to be inventing the wheel for better use an open source IDE like java,Qt and other.
Thanks Tim you all time helping but Xojo have a part in this.
Itâs been that way since day one and is one area where the web controls differ from the desktop ones.
Hidden columns or 0 width columns simply donât work in the web listbox.
It is a very bad design. Better use a string array. It will be much faster and will not create unnecessary traffic.
You should really use the same approach with the desktop listbox as well. Youâre blaming Xojo for a bad habit you got yourself into. Just because a thing works doesnât mean it is a good idea. UI controls are not good data containers.
Ok
Sorry blaming Xojo but is any List of what you can do and you can not do
but if any examples on how do this in the best way.
I always convert my RecordSet into a dictionary and set it as the rowTag.
Hello friends it works by moving all the columns that are hidden in the end a work well
like this Me.ColumnWidths=â24%,40%,8%,8%,10%,10%,0%,0%,0%â
https://www.dropbox.com/s/drzlw50xje9zldl/Screen%20Shot%202015-01-11%20at%209.55.21%20AM.png?dl=0
Keep in mind that even though the columns have no width, you are still sending all of that data to the browser and a user can still view it if they want to. Donât put anything you wouldnât want a user to see into those columns.
ok
thanks Greg
This is Inventory Data is no any sensitive data and is for local user on the same network.