dojo

Dojo: Edit Whole Row in Datagrid

I know one can edit a single cell in a dojo datagrid but I would like to be able to press a button on the datagrid row, and have the entire row be put into an editing state. Is that possible to do with dojo? ...

[Dojo / PHP + apc.rfc1867] I can't get xhrPost upon form submission via input button, I'm going insane...

It's rather lengthy, TLDR version below crit wall of text. Setup: Our company had been using prototype for some time, and just recently switched to dojo. I have been converting lots and lots of JS and setting everything back up to normal and then I encountered this issue... The issue: I have a typical form set up with a upload file fi...

So how I can control the page contents loading sequence in dojo

Hi there, I'm using dojo for our UI's, and would like to load certain part of page contents in sequence. For example, for a certain stock, I'd like to load stock general information, such as ticker, company name, key stats, etc. and a grid with the last 30 days open/close prices. Different contents will be fetched from the server separa...

attaching Tooltip to item without fixed element 'id'

I'm trying to add tooltips to a Dojo application that I recently inherited. The problem I'm having is that everything is created with dojoAttachPoint identifiers instead of with id's , such as : so, I can't use "connectId= " when defining the tooltip, until I get a hold of the element's id that I want to connect to. Basically my quest...

(dojo) dojox.form.Manager not firing observers

I have a customer dialog widget that I am attempting to use dojox.form.Manager on. I have just stumbled across this control and it looks to do most of what I was implementing (unified onchange events ) but much more. There is just one problem, the observer events will not fire. I have a form element containing multiple dijits, form,...

measure page rendering time on IE 6 or FF 3.x

I have a page constructed using Dojo and I need to measure how long the page takes to complete rendering on my browser (NOT time-to-first-byte, or time-to-last-byte). In other words, the page (all bytes) might get downloaded to my broswer but the components I'm using (eg. calendar, grid etc) might still initialize and render long after ...

how to implement cascaded dialogs in DOJO Toolkit

I was looking for cascaded (multi-level) dialogs in DOJO Toolkit. I understand that a proper implementation of this will be available in DOJO 1.4. (http://stackoverflow.com/questions/809350/dojo-dialog-nesting) I was wondering if a basic functionality of it (for managing the zIndexes) could be done easily by sub-classing the existing d...

Dojo: Select a tab on load depending on url parameter

Is there a way to select a tab in a tab container upon load depending on a url parameter? I have tried the following but nothing seems to happen and the tab I want is not selected: dojo.addOnLoad(function() { tabToSelect = getParameter("tab"); if(tabToSelect){ dijit.byId("container").selectChild(tabToSelect); } } I have console l...

Learning dojo: Chaining animations on a collection of objects

I'm doing some basic exercises with dojo to learn its syntax and methods. I've created a simplified example below for the purpose of learning chaining animations on a group of items. Could anyone offer some feedback on the dojo code I have created? Am I utilising the correct library features in this circumstance? Which of the dojo opt...

Using Aptana Studio with Dojo toolkit in Adobe AIR?

I'm testing a little bit of Adobe AIR - the HTML version in Aptana. And I chose Dojo Toolkit as the JS framework to have. And the generated html-page with dojo ain't working. That I think is a little bit embarrasing. And when I deploy the application it is so big, can you strip away all the pieces of the library that you don't use? Lik...

How to get dojo.query to reutrn values for a dijit.Dialog

Hi all I have some code in which I am creating an dijit.Dialog with an Ajax call(href property) to populate the contents. I what to parse the returned content to dojo.connect a click event to the links in the returned content. But when I do a dojo.query("a",this.current_popup.domNode) I get an empty array back Does anybody know how c...

dojo query to get parents of all inputs

I'm used to the jQuery style of selecting, which would be fairly easy in this case $("tbody td:has(input)").click(...); But dojo seems to be using only regular CSS selectors, which means I can't get a parent element. I've tried to do this: dojo.query("tbody td input").parentNode.onclick(...); But that doesn't seem to work. Any idea...

Dojo DnD Move Node Programmatically

I would like to know if there is a way to move the node programmatically in dojo Dnd? The reason is I would like to revert the changes to the drag and drop when the web service call triggered a failed save on the database. Here is what I have so far. In my code, the node Id seems to be unrecognized by the dojo.dnd.Container.DelItem. I c...

removing items from a dojo datagrid

Hi, I am struggling with a simple dojo datagrid in my Zend Framework project. I have a list of data from a mysql table that I can display, however I want users to be able to remove selected rows (and remove them from the db). I am using the example from Dojo DataGrid adding and deleting data. My code in my view for the datagrid looks...

Tabcontainer behaves different from browser to browser

The following code works on IE8, Safari 4.0.2 - but generates an empty page on Firefox 3.5.5. Any idea ? <html> <head> <link rel="stylesheet" type="text/css" href="http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/themes/tundra/tundra.css"&gt; </head> <body class="tundra"> <div style="width: 350px; height: 300px"> <div id="...

JQuery vs Dojo vs ExtJS

Possible Duplicate: Which Javascript framework (jQuery vs Dojo vs )? I have very short time to learn any JavaScript framework. Considering the all-in-one solution factor, WebDevelopment-market and availability of written-books, Which should I learn JQuery or Dojo or ExtJS? ...

Style Dojox Grid Row depending on data

Hi Folks, iam trying to style an Row inside an DojoX (1.2.3) Grid depending on values from the grid. GridLayout: var view1 = { noscroll: true, rows: [{ field: 'TASK_ID', name: 'ID', width: '80px', get: this.getColor ...

Dojo Layers best practice

My current project has a small user base and nearly all clients will be on the same LAN as the webserver so performance won't really be hindered but I'm a sucker for picking up bad habits so I want to get used to doing it right. I was thinking make a generic 'site' layer which would include the commonly used requires (mainly form, dialo...

Autocomplete in Dojo using a textbox as opposed to a dropdown.

Dojo's Autocomplete widget requires that I have a dropdown to start off with. Is there a way to create an autocomplete box in Dojo which starts out with a textbox like YUI's? I'm trying to use Dojo because that's what we use here in the project, also trying to modify existing JSP pages to have autocomplete. These pages don't have the fie...

Does jQuery have the equivalent of Dojo's enhanced <select>?

Dojo has this: http://download.dojotoolkit.org/release-0.4.3/dojo-0.4.3-widget/tests/widget/test%5FSelect.html Similar to Google Auto-suggest. Does jQuery have anything similar? ...