Hi,
What would be the best way to add some custom code in the loader? Actually I
just need to add a few lines of JS code before the loading of Qooxdoo
begins.
So far the only way I have found is using a custom template for the loader.
However this has the disadvantage that I now have to maintain
I seem to have suggested the fix myself; I set all 4 controls (List, Table,
and 2 buttons in a second column) with
minHeight = 120;
height = 2000;
and {flex: 1}
And they all shrink/grow proportionally with each other. Cool.
Ken
On Fri, Apr 16, 2010 at 9:59 AM, Ken MacDonald wrote:
> I've got an
I've got an interesting problem here - I've created a column in a Composite
container, and I'm populating it with some things. There's a header and
footer for the column that are fixed size and they seem to be working fine;
but I'm trying to get the table.Table and form.List in the middle to be the
Thanks a lot, Martin!!!
--
View this message in context:
http://n2.nabble.com/List-with-checkboxes-handle-events-tp4911878p4912902.html
Sent from the qooxdoo mailing list archive at Nabble.com.
--
Download Intel® Paral
But arrayWrapper.getItem(0) for example get such data:
{"$$hash":"t7","$$user_name":"Keyword
1","$$user_chosen":false,"__userData":{"idBubble":"changeBubble|bubble|nb"}}
not {"name":"Keyword 1", "chosen":false}
--
View this message in context:
http://n2.nabble.com/List-with-checkboxes-handle-e
MartinWittemann wrote:
>
> If yes, you can use the changeBubble event [2] of the model to get every
> change in the model.
>
I have tried this method but the checkbox clicking does not fire the
changeBubble event... It fires only after pushing/removing items to model.
Also I don't know how can
MartinWittemann wrote:
>
> You have to tell the model cration to add the bubble events:
> http://demo.qooxdoo.org/current/apiviewer/#qx.data.marshal.Json~createModel
> The second parameter has to be set to true.
>
Thanks, it works!
MartinWittemann wrote:
>
>
> alexander.volik wrote:
>>
>> A
Hi,
sure, you get a qooxdoo object containing your keys as properties. The whole
rawdata is wrapped in qooxdoo objects (models).
arrayWrapper.getItem(0).getName() will return the name for example.
Best,
Martin
--
View this message in context:
http://n2.nabble.com/List-with-checkboxes-handle-e
Hi,
alexander.volik wrote:
>
> I have a qooxdoo object after model creation
> var arrayWrapper = qx.data.marshal.Json.createModel(rawData, true);
> And i did not find the method to convert this object to array...
>
The arrayWrapper itself is the data array and can be accessed with getItem
for e
Hello,
alexander.volik wrote:
>
> I have tried this method but the checkbox clicking does not fire the
> changeBubble event... It fires only after pushing/removing items to model.
>
You have to tell the model cration to add the bubble events:
http://demo.qooxdoo.org/current/apiviewer/#qx.data.m
Hello Alexander,
you have some options do get that working. I guess you have bound the
selection of the CheckBox's to the model like in the online demo [1]?
If yes, you can use the changeBubble event [2] of the model to get every
change in the model. Within the data of the event is all informatio
The contrib SmartTable has such a feature.
Cheers,
Fritz
On Fri, 16 Apr 2010, smisonl...@googlemail.com wrote:
> Hello,
>
> when i click on the tableheaders to sort the table, the selection is
> removed. is their any feature planed to hold the selection?
>
> ---
Hello,
when i click on the tableheaders to sort the table, the selection is
removed. is their any feature planed to hold the selection?
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. S
You need to use
setSelectionMode() instead of setSelectionModel()
The complete call would be
table.getSelectionModel().setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE);
Cheers,
Fritz
On Fri, 16 Apr 2010, smisonl...@googlemail.com wrote:
> i try
i try to change the selectionmodel on a table to select and deselct by
clicking and not press STRG too
table1.setSelectionModel("MULTIPLE_INTERVAL_SELECTION_TOGGLE");
table1.setSelectionModel(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE);
table1.setSelectionModel(5);
but th
You could attach a listener to the event being generated when the checkbox
is changed. Look for
addListener()
in the API and for the event in the checkbox API (I would guess
changeSelection, but I am not sure).
Cheers,
Fritz
On Fri, 16 Apr 2010, alexander.volik wrote:
>
> I have extend
I have extended list (with checkbox and label in each line). The list was
defined in such way
var list = new qx.ui.form.List();
locationKeywordsTab.add(list);
var rawData = [{"name":"Keyword 1", "selected":true}, {"name":"Keyword 2",
"selected": false}];
var arrayWrapper = qx.data.marshal
Daniel Wagner wrote:
> Hi,
>
> > qx.ui.form.SelectBox.getSelection()[i]
>
> That's the way to do it. The SelectBox has a single selection, so i
> should always be 0. This will return the ListItem, so you'll have to
> call getModel() on it to get the user-defined value.
>
>
> Regards,
> Daniel
>
>
18 matches
Mail list logo