I've switch to getRowData rather than getData and it's working as expected
;)
On Thu, Sep 13, 2012 at 7:52 PM, franck34 <[email protected]> wrote:
>
> Hi
>
> Got a bug, easy to reproduce in a google chrome console.
>
> Using qx.ui.table.model.Simple : WORK AS EXPECTED
>
> var s = new qx.ui.table.model.Simple();
> s.addRows([['foo','bar']]);
> s.getData().length // expected 1, return 1
> s.setData([]);
> s.getData().length // expected 0, return 0
>
>
> Using smart.model.Default : FAILED
>
> var s = new smart.model.Default();
> s.addRows([['foo','bar']]);
> s.getData().length // expected 1, return 1
> s.clearAllRows(); // or setData([]);
> s.getData().length // expected 0, return 1
>
>
> Any idea ?
>
> (help, no idea on my side)
>
> Cheers thanks
>
>
> On Sat, Aug 25, 2012 at 3:10 PM, Derrell Lipman <
> [email protected]> wrote:
>
>> On Sat, Aug 25, 2012 at 7:12 AM, franck34 <[email protected]> wrote:
>>
>>>
>>> Hi,
>>>
>>> Do you know if somebody plan to refactor SmartTableModel contrib to use
>>> it with qooxdoo 2.x ?
>>>
>>
>> SmartTableModel and TimezoneDate work with 2.0. I just updated the
>> manifests to indicate so. You should be all set to use it now.
>>
>> Cheers,
>>
>> Derrell
>>
>>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel