Hello, I've got this nasty problem... I've this combobox:
Operatore:
Hello, I've got this nasty problem... I've this combobox:
Operatore:
I'm building a webapp that uses two data sources (each associated with a database table), and I've got each working independently as a dojo.data.ItemFileReadStore.
I can asynchronously access either table by itself, using fetch and its onComplete and onItem "callbacks".
My problem is that each item in data source A holds a reference (an id number or key) to an item in data source B but I've yet to find a very elegant way to generate an HTML table of items from data source A that also includes the referenced info from data source B.
Hello. I'm wondering if it's possible to return a value directly from an ItemFileReadStore query? I'm not seeing a way to do this, other than by setting a global var. But I'm assuming there must be a way - and I'm just not bright enough to figure it out.
MyLib.dataSources = {
identifier: 'id',
label: 'Source Row sources',
items: [
{ id:'eng_101', name:'English 101', on:false },
{ id:'astr_405', name:'Astronomy 405', on:false },
{ id:'flickr', name:'Flickr', on:true},
{ id:'add_url', name:'Add URL', on:false },
Hello,
I am new to Dojo and I am trying to create an ItemFileReadStore to feed a grid. Using the following markup, I get what I am looking for when the server reads the item parameter from the url.
If I need to pass a different item number to the server dynamically, how would I go about doing that? I tried creating the Store programmatically like this, but the code throws an error on the last statement:
function getItem(){
I have a structure as shown below :
dojo.provide("grid.sample");
(function(){
grid.sample.structure = [{
cells: [[{
name: 'Dow',
field: 'dow',
rowspan: '2'
}, {
name: 'Stay Date',
field: 'staydate',
rowspan: '2'
}, {
name: 'T1 (1-6)',
style: 'background: #d7d7bF;'
}, {
name: 'T2 (7-13)',
style: 'background: #d7d7bF;',
colspan: '2'
}, {
name: 'T3 (14-20)',
Hello,
How can I do to specify node's icon from Json data in a Tree Component
part of json data :
{ identifier: 'name',
label: 'name',
items: [
{ name:'Africa', type:'continent', icon:'continent.png'
children:[{_reference:'Egypt'}, {_reference:'Kenya'}, {_reference:'Sudan'}] },
{ name:'Egypt', type:'country' },
{ name:'Kenya', type:'country',
children:[{_reference:'Nairobi'}, {_reference:'Mombasa'}] },
docs, hacks, solutions, ..
thanks for your help.
Hello,
I am trying to create dojo thumbnail using following syntax.
Hello,
I am trying to create dojo thumbnail using following syntax.
In 1.0.2 there is:
I'm loading some large data that I need to transform. I don't want to do that in onBegin, because that
A month ago we were speculating about the roles of the model and the store. The model seems somewhat redundant when used with a store. Since there's no definite answer and improving grid integration with dojo.data was already mentioned in grid priorities I'd like to ask for some clarification of their current/future roles.