Hi have you solved you sorting problem?
I have a solution, quick and dirty, but working for me. As Derrell
suggested, I wrote a subclass for qx.ui.table.model.Simple (in 0.7.1). If
you are interested, please contact me.
Cheers Torsten



veerappa wrote:
> 
> Thank you Derrell for your prompt helping hand. As you suggested, I have
> entered this in bugzill as an enhancement request item, per ticket # 386.
> 
> Veerappa
> 
> 
> Derrell.Lipman wrote:
>> 
>> veerappa <[EMAIL PROTECTED]> writes:
>> 
>>> I need help with specifying the sort type for data columns in a table -
>>> say
>>> numeric sort or  string sort.
>> 
>> You should subclass qx.ui.table.SimpleTableModel and in your subclass,
>> override the method sortByColumn.  In SimpleTableModel, sorting is always
>> by
>> implicit conversion but your sort method can do anything it likes.
>> 
>> It would be quite easy to provide a pair of comparator properties so that
>> users could easily provide their own sortAscending and sortDescending
>> methods.
>> Veerappa, maybe you could create a bugzilla enhancement ticket requesting
>> that.
>> 
>> Derrell
>> 
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Specifying-Sort-Type-for-Table-Data-tf3676269.html#a12277402
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to