Data Grid module of Dojo Toolkit (a JavaScript toolkit).
Questions tagged [dojox.grid]
244 questions
1
vote
1 answer
Dojo Datagrid throws "Cell is undefined"
cell = document.createElement("td");
cell.setAttribute("colspan", "1");
cell.setAttribute("valign", "top");
var grid = new dojox.grid.DataGrid({
id: "gridID",
store: new dojo.data.ItemFileWriteStore({data: {items: []}}),
elasticView:…

mmontalvo
- 83
- 10
1
vote
2 answers
Adding an Image to a dojo button
I have a requirement of adding an image to a dojo button instead of adding text.
Could anyone guide to do it?

user2927223
- 41
- 1
- 7
1
vote
1 answer
Column values not changed after edit the coulmn in GRIDX
Am using Dojo Gridx in my project. These are my columns names
id, field1, field2, active status
I have a assignment, when click column active status need to change the active status value, column icon and field1, field2 values.
For example :…

KSK
- 636
- 1
- 9
- 29
1
vote
2 answers
updated value in grid is not shown at java spring controller
I have a enhanced grid, i want to edit the grid contents and once clicked on Update link, i have to pass newly typed values to the java spring controller where i have logic to save updated values in database. But issue is after i type the value in…

user3684675
- 381
- 4
- 8
- 32
1
vote
1 answer
Dojo Data grid with custom HTTP headers
I have DataGrid that connects to REST service. I need to pass some custom HTTP headers (Authorization and others) to fetch operation. How can I do that?
Data store is JsonRestStore.

Peter
- 904
- 1
- 13
- 26
1
vote
2 answers
Dojo data grid filter for multiple columns
I want to filter all columns in the data grid based on or condition.
For a single column(name) filter I tried below function and it's working properly.
grid.filter( {name: "*" + value + "*" } );
Now I want to use this filter for multiple columns…

Swpno
- 173
- 1
- 13
1
vote
1 answer
dojo.data.ItemFileReadStore: Invalid item argument. while reloading data
I am facing a strange problem here. I have a Select box displaying Department field value. Onchange of the department option, I have to populate the grid. When the page loads first time, the onChange event works fine and the data gets loaded…

A N
- 394
- 2
- 8
- 18
1
vote
1 answer
Unable to use Dojo toolkit widgets within an angularjs application
I am trying to use the Dojo gauges within my angularjs app; I understand that Dojo itself is a framework that offers MVC (like angularjs) but at this point, I have an angularjs app and I would like to use existing widgets from other libraries using…

user2789284
- 751
- 1
- 11
- 28
1
vote
1 answer
Dojo onCellDblClick function don't work
I work with Dojo, using grid and when i double click on cell or column i got error TypeError: this._click[0] is undefined. So I look into code and see:
onCellDblClick: function(e){
// summary:
// Event fired when a cell is…

Veneomin
- 31
- 3
1
vote
1 answer
Upgrade from Dojo 1.4 to 1.8
I am working on the Migration of Dojo from 1.4 to 1.8. I have a project in which there are some jsp pages in which dojo is written and it takes the path of dojo from an xml file.
I have changed the path from dojo 1.4 Library to dojo 1.8 Library, but…

user2721609
- 57
- 1
- 5
1
vote
1 answer
dojo grid source
I want to use dojo grid with asp.net mvc but i don't know how the server side function must look like(parameters and return json).
All the samples i've seen use a file as a source for grid.
Any tips?

luke
- 235
- 2
- 3
- 7
1
vote
1 answer
Dojo dGrid header checkbox to select all does not work
I created a dojo dgrid however i used a form wizard to seprate the fields on the form, however with the current structure i am having an issue with the select all feature on the grid.
I cannot select all however if i remove the div Page2 and it…

devdar
- 5,564
- 28
- 100
- 153
1
vote
1 answer
Dojo's onBeforeRow not being called
I am trying to do a workaround in the Dojo Toolkit where you cannot do a colspan on the first row by adding a dummy row with just width in it. After creating the row, the row would be hidden using the onBeforeRow.
Please refer to the following as…

Nap
- 8,096
- 13
- 74
- 117
1
vote
1 answer
gridx pagination summary description - how to change format
Is there any way to the change the summary description that is displayed when Pagination is enabled on the gridx control?
It says 'Total 100' Whereas on the enhanced grid it would say 1-20 of 100 items
Can this description be tailored?

blu10
- 534
- 2
- 6
- 28
1
vote
1 answer
dojo gridx wont read from JSONRest store - what am i missing here?
I having trouble populating a gridx widget from a JsonRest store. See my code below...
test1.json contains the same info as i have specified in the data for teststore.
When i change the grid to point at the teststore var it displays the contents…

blu10
- 534
- 2
- 6
- 28