How are you managing your usage of DojoX code or widgets in a production application?
The Dojo Toolkit is comprised of Core, Dijit, and DojoX. As an incubator for new ideas to extend the toolkit, DojoX code and widgets are functional with varying degrees of instability.
DojoX Code like QueryReadStore (for fetching batches of data from...
Problem
I've got a number of Dojo components on a page. When the user tries to tab from an input like component to a grid like component, I get a JavaScript "Can't move focus to control" error. The user base uses IE6.
Solution
The first element in the DojoX Grid layout cannot be hidden. If it is hidden, you get a a JavaScript "Can't ...
I've got a grid (dojox.grid v1.2) that I don't want to be sortable. How can I disable that?
...
I am using a dijit.form.FilteringSelect backed by a dojox.data.QueryReadStore in order to allow the user to select a region (think "auto-complete" mechanism). On each character entered by the user, the QueryReadStore sends a request to the server, awaiting a json list of matching regions (with associated IDs). By the time a short enoug...
Hi,
I am trying to create a website where I host my data on google spreadsheets, and show data to the user in his browser using dojo.
However, I am getting the error
Access to restricted URI denied" code: "1012
when the browser encounters:
var stateStore = new dojox.data.CsvStore(
{url: "http://spreadsheets.google.com/pub?key=p0jvMl...
Hi,
When I use an import such as
<script type="text/javascript" src="http://o.aolcdn.com/dojo/1.2.3/dojo/dojo.xd.js"
djConfig="parseOnLoad:true, isDebug: true"></script>
I get the error
dojox.data.CsvStore is not a constructor
for lines such as
var stateStore = new dojox.data.CsvStore({url: "dojo-passcsv.php", label: "name"...
I'm trying to add a DojoX Grid control to my website, but I can't get it to work. I'd like a simple example to start from, but there doesn't seem to be one anywhere. These are my requirements:
I need an example of the 1.2 Grid
It should load the Dojo libraries from googleapis.com (or AOL's servers; not the trunk code or the Dojo code...
I'm using dojo charting and for some reason the legend for my chart is showing x's instead of the colours.
Here is my code:
dojo.require("dojox.charting.Chart2D");
dojo.require("dojox.charting.themes.PlotKit.blue");
dojo.require("dojox.charting.widget.Legend");
dojo.require("dojox.layout.FloatingPane");
dojo.require("dojox.charting.the...
I have the following dojo codes to create a surface graphics element under a div:
....
<script type=text/javascript>
....
function drawRec(){
var node = dojo.byId("surface");
// remove all the children graphics
var surface = dojox.gfx.createSurface(node, 600, 600);
surface.createLine({
x1 : 0,
y1 : 0,
x2 : 600,
y2 : 600
})....
I have a the following static div:
<body>
<div id="div1"></div>
....
I want to add a div with id "div1_1" within div1 dynamically by using dojo. How can I do it?
...
I have the following codes to create chart graphics by dojox.charting:
function createChart() {
var node = dojo.byId("surfaceDiv");
while (node.hasChildNodes())
{
node.removeChild(node.lastChild); // remove all the children graphics
}
var nodes = "<div id='chart1' style='width: 10px; height: 10px;'></div><div id='legend1'...
By default, the legend created by dojox.charting.widget.Legend(...) is aligned left side:
...
// myChart is a var with a dojox chart
var myLegend = new dojox.charting.widget.Legend({chart: myChart}, "legend1");
Any settings in the Legend() constructor to set legend as centered legend?
By the way, I realize that dojox actually convert...
I have a web HTML page with some client-side JS codes based on dojox.charting. I don't have dojo library in my local web site (actually no web server). I use dojos' xDomain reference feature with src to google's hosting site like this:
<head>
...
<script type="text/javascript"
djConfig1="isDebug:true"
src="http://ajax.go...
We are in the process of doing a POC on AJAX push technology. Some of the things we are looking at are Ice Faces Push Technology, Richfaces a4j:push and WebSphere Application Server Feature Pack for Web 2.0.
We find an issue with WebSphere Application Server Feature Pack for Web 2.0 in that going down this road we become a slave to th...
In the following sample data is only shown in the grid if the json data contains a name column -> the first grid shows data, the second not.
Why is this the case?
index.html:
dojo grid
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dijit/themes/tundra/tu...
I have recently started working on dojo. I am facing problems in the following cases.
How can i provide a unique link (href) in each bar in the bar chart? When a user clicks on a bar, he should be taken to a related jsp/html page.Basically, i am looking for a clickable bar.
How do i provide a label or note (Ex:10,12,a name etc) inside ...
Weird problem with dojo.data.
var store = new dojo.data.ItemFileReadStore({ url: "[myUrl]" });
console.log(temp.fetch({
query:{id:'*'},
onComplete: functionOnComplete,
onError: functionOnError
}));
functionOnError show such trace in opera only:
message : Statement on line 16: Syntax error
Backtrace:
Line 16 of linked scri...
While rendering text with dojo's gfx, is there a way to tell how much space the text would take, just in case I need to wrap it so it fits a given width?
How would you manage to print text of arbitrary lengths if you had to make them fit areas of restricted width?
Update: Sorry, I should have mentioned I need to do the wrapping on the s...
I am using a Widget that contains a DataGrid object. The Widget works fine when included in the first tab (this is the visible tab), but not when I use the same code on a second tab.
The code is the same I have done several checks to make sure there are no other problems - and non Grid code is rendering fine - only the grid that has a p...
Hi all,
I want to resize the dojo grid row by dragging it as we can do with the column.
I want it some thing like Excel row which we can resize(minimize or maximize its height), is there a way to do this in dojo grid?
Thanks
Faz
...