I'm having trouble with this li, Post #4 version...
I cant sort the table..
I'm using
tabela.tablesort("NºEnc ASC")
but nothing gets sorted..(NºEnc is the name of the column)
Another issue I'm having is that werever I try to set the row color, it only gets "refreshed" and shown, after the first change in the table, ex a RemoveCheckedRow event...
Even if I don't set anycolor, after the first event it gets the odd row color changed...
I'd like to have the color stay the same as the one it has when first created...or set them to have all the same color.
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
here's my code so far....Almost completed app, only thingmissing is how to sort by the "NºEnc" column, and set the background to stay the same for all the rows...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
Of course....
I forgot that I was first seting the table before I actualy showed it....So no refresh was being done...
Thanks filipo...
btw still can't work out the sorting...and I noticed you didnt do it either(?)...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
Got it...
SO With this table control, I have learned that the WERE the commands are run, is VERY imporntant, to acuratly show WHAT we want...
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France-Saumur
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate) B4PPC DLL Version Listing - B4Android DLL Version Listing
Missing dicription of special-values in the Help-File
Hello Filippo,
the last weeks I tried out your ListView.dll. Because I know that ListView is able to autosize the columns, I searched in the LitView.chm but nothing is in there about autosizing.
It would be helpfull, if the special values for column.width are documented as well.
What I mean is:
lv.Columns(1).Width=-1
'-1 Sizes the column to the widest subitem text
lv.Columns(2).Width=-2
'-2 Sizes the column to the wider of the columnheader text or the
widest subitem text. Secondly, the last column is automatically sized
to the remaining listview width
lv.Columns(0).Width=0
'Hide column 0
Thanks for this very helpfull library.
best regards
berndgoedecke
PS.: Is it possible to get the HeaderClick event without sorting, so that the user come to his own decision what is to do if the header is clicked??