sorry, by looking in the code, i saw what's happening.

tnx
cornelius

Cornelius Weiss schrieb:
> Hi Hugh,
>
> tnx for your patience!
>
> i finally managed to extend the RemoteTableModel as you sugested. Now 
> the funny thing is, that the table sorting seems not to be working any 
> more...
>
> if i do a
> this._tableModel.setColumnSortable('schluessel', true);
> this._tableModel.sortByColumn('schluessel', true);
>
> nothing happens...
>
> if table sorting not supported by RemoteTableModel?
>
> cu
> cornelius
>
>
> Hugh Gibson schrieb:
>   
>>> it seems, that the table stips all data witch are not needed by the 
>>> talble presentation, and therefore also the id has gone...
>>>     
>>>       
>> Ah, looking at source code I can see that - in 
>> SimpleTableModel._mapArray2RowArr. Converts a map to an array.
>>
>> You could easily use RemoteTableModel - derive a class from it. You have to 
>> override two functions - _loadRowCount and _loadRowData. Normally these 
>> result in requests to the server for data, but as you have the data you can 
>> just return it immediately (you have to call functions in the table model - 
>> see the documentation).
>>
>> Hugh
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> qooxdoo-devel mailing list
>> qooxdoo-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>   
>>     
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to