Actually I'm trying the removeRows(), addRows() method-combination. It seems
to be a little bit faster than change all the datas.
I'll write my experiences with this.

Greetings
Daniel
 

Stefan Volbers wrote:
> 
> Inspired by your friendly answer, I further looked into this.
> 
> Can someone confirm if this patch for qx/ui/table/model/Filtered.js 
> resolves the mentioned problem (assuming qooxdoo-0.8.3-sdk)?
> 
> 410a411,419
>  >     },
>  >
>  >
>  >     // overridden
>  >     setRows : function(rowArr, startIndex, clearSorting)
>  >     {
>  >       this.Filters = [];
>  >       this.base(arguments, rowArr, startIndex, clearSorting);
>  >       this.__fullArr = qx.lang.Array.clone(this.getData());
> 
> If it does, same means would have to be applied to other data setting 
> methods (at least setRowsAsMapArray() - are there others?).
> 
> Greetings,
> Stefan
> 
> danovics wrote:
>> Thank you _very_ much for your answer.
>> It's good to know, that is not me or my code make the mistake.
>> Although I didn't understand 100% what you wrote, but I'll try the method
>> you suggested.
>> Thanks again.
>>  
>> 
>> Stefan Volbers wrote:
>>> Hi danovics,
>>>
>>> looking at table/model/filtered.js, I believe it's a bug in Filtered. 
>>> Whenever resetHiddenRows() is called, a shadow table data 
>>> (this.__fullArr) is retrieved; but this would be set correctly only if 
>>> you used setData() in your application, the setRows() method seems to 
>>> have been forgotten. Therefore the shadow data isn't updated, and when 
>>> it is recalled within resetHiddenRows(), you get outdated data.
>>> So, if my guess is right, a workaround would be to use setData() in your 
>>> cellClick listener (haven't tried myself).
>>>
>>> Dan is the author of the filtered model, maybe he can comment on that?
>>>
>>> HTH,
>>> greetings,
>>> Stefan
>>>
>>>
>> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day 
> trial. Simplify your report design, integration and deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/filtered-table-with-checkboxes-problem-tp4050308p4051432.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to