On Mon, Mar 12, 2012 at 08:30, totty <[email protected]> wrote:

> I have a custom class that looks like this:
>
> qx.Class.define('test.Table2', {
> extend: qx.ui.table.Table,
>
> construct: function(model){
>    this.base(arguments);
>    }
> });
> What happens?
>
> If I use the qx.ui.table.Table with a model it shows data. If I change to
> test.Table2 then it shows an empty table with empty col names too. only a
> little bar.
>
> how do I extend it properly?
>

When you call the superclass constructor, you need to pass the argument to
it. Instead of:

this.base(arguments);

you want:

this.base(arguments, model);

Derrell
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to