farrens | 16 Apr 07:04 2014
Picon

QuickFilter and combo box in GridX

I have a gridx control with combo boxes (SELECT combo-box) in some cells. 
When I use the QuickFilter widget, I noticed that after the filtering has
taken place, the combo boxes don't display the selected values until I click
on the drop down.  In the dropdown, the selected value is bold but just not
displayed.

Why is this happening and how can I resolve it?  

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/QuickFilter-and-combo-box-in-GridX-tp4001999.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

farrens | 16 Apr 02:54 2014
Picon

gridx quickfilter expressions

Anyone know who to limit the quickfilter to filter only what's visible in the
gridx control?

Example, I 've already filter the Gridx control to show only Cities in
California.  But if I use the quickfilter, it will re-filter the whole data
in the Gridx control. 

Basically, I need to limit the quickfilter to what's already filtered in the
Gridx control.

Anyway help would be appreciated!  

Thanks!

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/gridx-quickfilter-expressions-tp4001987.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Gregor C Okorn | 16 Apr 02:03 2014

Why are Dojo Wizard buttons difficult to display in BorderContainer?

Hello,
I'm using Dojo 1.9 and am trying to understand how to properly control my
Wizard within the center panel of a BorderContainer. 

My initial problem was that the content of the WizardPane (when long enough
to require a vertical scrollbar) would display underneath the Previous and
Next buttons.  I want the WizardPane contents to scroll when necessary, but
not underneath the Prev and Next buttons.

I started an example on jsfiddle to demonstrate the problem and it got
worse.  Now on jsfiddle if the Wizard is inside the BorderContainer center
panel, then the Prev and Next buttons are obscurred/hidden completely.  I
have a button that toggles the wizard in and out of the BorderContainer and
when the Wizard is out of the BorderContainer the Prev and Next buttons
appear.

What am I missing?  Here's the jsfiddle example: 
http://jsfiddle.net/gregorco/77tTF/2/

Thanks for your help.

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/Why-are-Dojo-Wizard-buttons-difficult-to-display-in-BorderContainer-tp4001986.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
(Continue reading)

Harry Devine | 15 Apr 20:03 2014
Picon
Picon

Having text in a span tag show as a link

I have a span tag that is as follows:

<span onclick="myFunction('myFile')">Run function</span>

The text shows up fine and I can click on it and get my function to run, 
but what I want to have is for the text to look "clickable". The 
function places some content into a div within my current page, so I 
really don't want to have an <a href> tag.

Does Dojo have something that can do this?  I've been looking around, 
and even tried some CSS, but I can't seem to find anything that suits my 
needs.

Any ideas?

Thanks,
Harry

--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Fenglian Xu | 15 Apr 16:47 2014
Picon

AUTO: Fenglian Xu is out of the office for vacation (returning 22/04/2014)


I am out of the office until 22/04/2014.

I will respond to your message when I return.
For any ugent matter, please contact my manager Paul Browning.
For RDM related matter, please contact  Pankuj Chachra or Dan Mandelstein

Note: This is an automated response to your message  "[Dojo-interest] Using
enhanced grid export in a previous version" sent on 14/04/2014 8:52:07.

This is the only notification you will receive while this person is away.

--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Fredde | 15 Apr 14:59 2014
Picon

Re: How to move a tab to another tab container ?

I tried this with simply removeChild/addChild and I don't see any issues. See
http://jsfiddle.net/9NFF4/1/

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/How-to-move-a-tab-to-another-tab-container-tp4001956p4001972.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Mark Easton | 15 Apr 03:54 2014

dGrid not working on PhoneGap

Hi

I'm trying to convert an existing Dojo mobile app to run on PhoneGap.
I cannot seem to 'Require'  any dgrid components.

I have created a single build layer including all the dgrid modules in the single dojo.js file.
I have created a very slim directory that only contains the required built files and when testing from my local desktop browser everything works as expected
Using latest Dojo (1.9.3) and dGrid releases

I am using the phonegap.build debug system to try and isolate the problem.
I can see the if I run the following code in the console I correctly see the console.log fire:

require(["xstyle/has-class"],function(a){console.log('test')});

however if I run the following it does not:

require(["dgrid/List"],function(a){console.log('test')});

So presumably something is going wrong when trying to run that definition?

Can anyone help me figure this out. 
Has anyone here got dgrid working with PhoneGap?

I notice the definition of dgrid List has a couple of strange includes - "./util/misc", "dojo/has!touch?./TouchScroll"
and am wondering if that is somehow killing things

Thanks
Mark


--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Bjoern Burger | 14 Apr 11:56 2014
Picon

dijit/popup: Error in method _repositionAll while destroying Dialog

Hi,

we created our own Dialog component, inherited from dijit/Dialog. Our dialog
contains an inherited dijit/form/ValidationTextBox.
It looks similar to this example:
<http://dojo-toolkit.33424.n3.nabble.com/file/n4001965/dijit_Popup.png> 

We use the destroy-method of dijit/Dialog to remove the Dialog element from
the DOM. 

If the tooltip is still active while destroying the Dialog, then sometimes
IE shows the following error message:

/SCRIPT16389: Unknown error. 
dom-geometry.js, line 529, char 4/

This problem also occurs in Firefox with a different or none message.

After destroying the Dialog with error, it won´t be removed from DOM, the
tooltip stays visible:
<http://dojo-toolkit.33424.n3.nabble.com/file/n4001965/dijit_Popup2.png> 

The error is caused by the method "_repositionAll" in dijit/popup. The
variable newPos in "_repositionAll" is sometimes undefined.

Does there exist an issue of this bug? Does perhaps this one match:
https://bugs.dojotoolkit.org/ticket/17550?

BTW: Can anybody explain the comment in line 105 of dijit/popup? (// guard
for when clearTimeout() on IE doesn't work)

Kind regards, 
Bjoern 

http://www.datev.de | http://www.datev.com

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/dijit-popup-Error-in-method-repositionAll-while-destroying-Dialog-tp4001965.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Leo Huber | 14 Apr 10:10 2014
Picon

HTTP error code handling in dojo/request/node.js

Hi there,

I'm not 100% sure but I suspect that the HTTP error code handling in dojo/request/node.js is not correct. If I receive an 4xx or 5xx response with dojo/request in a browser environment the promise from the xhr call enters the error callback. But the same call in a node environment it does enter the success callback.

I had a quick look at the code in dojo/request/node.js and I feel like around line 90 in the 'end' callback function there should be a check if the HTTP code is 200 and call reject on the deferred if it is not.

Could someone who is more familiar with this code have a look and let me know if my assumption is correct?

Thanks a lot.
Leo
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Felipe Ortiz M. | 14 Apr 09:52 2014
Picon

Using enhanced grid export in a previous version

Hi, 

I would like to know how can I use the grid export ("dojox.grid.enhanced.plugins.exporter.CSVWriter") which was released on version 1.6 in a previous version 1.4.

Copying the respective files and doing anything else? is it possible?

Thanks.

--
------------------------------------------------------
Felipe A. Ortiz Marín.
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
voger | 13 Apr 14:10 2014
Picon

How to work with dojo Moveable events?

Hi, I made this question in StackOverflow also. I can't seem to find a 
good working example on how to use Moveable events in dojo 1.9.3.

I am reading the documentation here 
http://bill.dojotoolkit.org/api/1.9/dojo/dnd/move.parentConstrainedMoveable 
and here 
http://dojotoolkit.org/reference-guide/1.9/dojo/dnd/Moveable.html and 
the chapter from the Oreilly book here 
http://chimera.labs.oreilly.com/books/1234000001819/ch07.html#drag_events and 
also some examples found around the web but I don't seem to understand 
how to make it work.

I have this fiddle http://jsfiddle.net/W7V2a/5/ I want before the move 
starts, to call a function, during the start to call another function 
and once it ends a third function. Not only once but every time a move 
happens. I can't make it catch the events.

Also buttons will be added and removed all the time so attaching the 
moveable object to a variable like

var moveable = new move.parentConstrainedMoveable(button.domNode, {
         handle: this.focusNode,
         area: "content",
         within: true
     });

     on(moveable, "onMoveStart", function (e) {
         dojo.query(".container").style("backgroundColor", "red");
         alert("onMoveStart");
     });
doesn't seem practical. So how can I create moveable objects on the fly 
and catch their events and do something with these events?
--

-- 
Dojo Toolkit: http://dojotoolkit.org/
Tutorials: http://dojotoolkit.org/documentation/

Dojo-interest <at> mail.dojotoolkit.org
To unsubscribe, visit: http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest


Gmane