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? ...
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? ...
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...
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...
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...
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,...
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 ...
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...
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...
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...
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...
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...
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...
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...
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...
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"> </head> <body class="tundra"> <div style="width: 350px; height: 300px"> <div id="...
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? ...
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 ...
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...
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...
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? ...