Hi,
I am new to Qooxdoo and Ajax based Frameworks. I am using Qooxdoo for
the first time and during the last 2 months of use, I found it very
simple to use (thanks to the extensive API and the Demo brower
functionality).
I have some queries :
1. Do I always need to send a mail to start a new thread, or is there
some functionality that I can directly log into the forum and post
my question there ?
2. I am facing a formatting issue while using Qooxdoo framework. I
have 3 atoms (called Filter Bar, Table and Navigation Bar) which
in turn hold complex widgets inside them. These atoms are placed
one below the other (using Vertical Boxlayout). But, when I make
my Table widget as resizable, then as soon as my webpage loads up,
the table starts as a small box and slowly expands horizontally
and never stops, even after going out of the screen.
The code snippet is :
/qx.Class.define("spagobi.ui.PagedTable", {
extend : qx.ui.layout.VerticalBoxLayout,
members : {
_filterBar: undefined,
_navigationBar: undefined,
_table: undefined
},
construct : function(controller, data) {
//controller is the parent object which calls the
PagedTable class and data is
the table's data
this.base(arguments);
this._filterBar = new
spagobi.ui.FilterBar(); // a horizontalbox Layout widget
containing
some text boxes and
combo boxes
this._table = new
*spagobi.ui.Table*(controller, data); // creates a table with some data
this._navigationBar = new
spagobi.ui.NavigationBar(); // a Toolbar containing a Horizontal
Boxlayout which
itself contains some
buttons
}
});
/
Code snippet of /*spagobi.ui.Table*/ :
/ this._tableModel = new qx.ui.table.model.Simple();
this.base(arguments, this._tableModel, {
tableColumnModel : function(obj) {
return new qx.ui.table.columnmodel.Resize(obj);
}
});
var columnModel = this.getTableColumnModel();
var resizeBehavior = columnModel.getBehavior();
this._tableModel.setDataAsMapArray(data.rows, true);
//data.rows contains the data of the tabl/e
So, currently I am calling /*spagobi.ui.PagedTable* /class which in
turn calls /*spagobi.ui.Table */and this causes the table to keep on
expanding/*. */
But, if I directly call /*spagobi.ui.Table, */then the table gets
displayed properly. So, how do I solve it ?
//
--
Amit Rana
SpagoBI Developer
Research & Innovation Division
Engineering Ingegneria Informatica S.p.A.
Strada 2, Palazzo D3 - 20090,
Milanofiori Assago (Milan) - Italy
Mobile: +39-3276115975
www.eng.it
www.spagoworld.org
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel