Data Grid module of Dojo Toolkit (a JavaScript toolkit).
Questions tagged [dojox.grid]
244 questions
1
vote
1 answer
XPages - filtering documents with a Dojo Data Grid
I'm using a Dojo Data Grid and would like to filter the documents shown using the categoryFilter of the REST service which supplies the data to the Dojo Data Grid. The REST service gets it's data from an xe:viewItemFileService and a Notes View.…
user1358852
1
vote
1 answer
Spaces while editing Dojo Enhanced Grid
I have been to one of the major problem in Dojo Enhanced grid for days. What i am trying to do is to disable default onApplyCellEdit event in spacebar press and act as normal spacebar as in text editor. Right now, spacebar press triggers…

Mani Rai
- 665
- 2
- 9
- 22
1
vote
1 answer
Dojo grid: accessing another attribute from a formatter
I have a Dojo EnhancedGrid. Suppose in one column I want to display the employee's name as a link, and aart of the URL contains must employee ID.
The row in the grid:
structure:[
{name:"Name", field:"name", datatype:"string",…

WoodenKitty
- 6,521
- 8
- 53
- 73
1
vote
1 answer
how to check the checkbox automatically when i click on a row in enhanced grid in dojo using indirect selection
here i am using indirect selection in enhanced grid,when i clicked on check box it is working fine....now i want to click the row or any cell in the grid by that the checkbox should get selected....please help in this.....tried rowclick,cellclick…

user2794174
- 60
- 10
1
vote
1 answer
Refresh a Grid using dojo
I want to refresh a dojo grid in my web page. I tried .refresh which is given in dojotoolkit.org without success. is there any other convenient way to do refreshing? Thanks in advance.

DbxD
- 540
- 2
- 15
- 29
1
vote
1 answer
sorting Dojo EnhancedGrid requires user to click narrow area near edge of header
Whenever I create a EnhancedGrid in Dojo, I find that it is difficult to sort. I do not get this problem with an ordinary DataGrid.
Sorting requires me to click inside the column header, but only in a narrow region near the edge of the header. I…

WoodenKitty
- 6,521
- 8
- 53
- 73
1
vote
0 answers
dojo programmatic coding or declarative coding for 2.0 compatibility?
We are coding most of the things in our project in declarative way and the event
handling is done in tag or loaded in .js file.
Declarative way in the code:

user1716006
- 51
- 4
- 11
1
vote
1 answer
Display dijit toolTip with Dojo DataGrid and JSonRestStore
Is there a more efficient way for displaying a tool tip once a cell is hovered? Using the structure attribute to format the datagrid, is there a way to use formatter to display a dijit toolTip rather than using the html title attribute.
Here is the…

user2270542
- 11
- 1
- 3
1
vote
1 answer
dojo lazytreegrid is displayed differently in websphere portal 8
websphere portal 8 comes with default dojo 1.7.2, and this dojo documentation for lazytreegrid if for dojo 1.7 http://dojotoolkit.org/reference-guide/1.7/dojox/grid/LazyTreeGrid.html
But when I run the example in the documentation, the treegrid is…

aryanRaj_kary
- 503
- 2
- 7
- 28
1
vote
2 answers
Dojo 1.8 fill an EnhancedGrid with Objects and SubObjects of a provided JsonRest
Is there a way to fill a Column of an dojox/grid/EnhancedGrid with SubObjects in a JSON Structure?
For example if i have a JSON-Row that is looking like:
{
id: 2,
name: "TestItem2",
created: {
date:…

Markus Ebner
- 148
- 9
1
vote
2 answers
Dojo Enhanced grid with pagination need to access number of rows in the page
I am implementing Dojo EnhancedGrid with pagination and there is something called items per page.
10 | 20 | 30 | 40 | 50| all.
Suppose I select here 20 in the EnhancedGrid pagination. How to access the value 20 from the program? I want to get…

Ashish
- 45
- 1
- 7
1
vote
0 answers
EnhancedGrid scrolling (with large amount of data)
I'm using dojox.grid.EnhancedGrid which is created by the class MyGrid, explained below.
var MyGrid = declare(null, {
constructor: function (app, id, opts) {
this.id = id;
this.app = app;
this.core_id = app.getCoreId();
…

Ivo Silva
- 350
- 4
- 20
1
vote
1 answer
multiple dojo DataGrid on same page not working
I have a requirement to display three dojo Datagrid in same page. Each data grid will use its own data stores to display the data.
I use JsonRestStore to query my REST service to display in the grid. If I use one DataGrid in the page it works fine.…

user1999534
- 11
- 2
1
vote
2 answers
Undo functionality in Dojo
I'm using an enhanced grid in Dojo and I would like to implement "Undo" functionality .
For example after editing a cell, adding/deleting a row the user should be able to revert that action.
Any pointers how to get started?
Thanks!

piris
- 1,547
- 3
- 22
- 26
1
vote
0 answers
Select an item from Dojo Grid's store and display one of its attributes (array of objects) on grid
I have a Dojo EnhancedGrid which uses a data store filled with the following data structure:
[
{ id: 1, desc: "Obj Desc", options: [ { txt: "text", value: 0 }, { obj2 }, { objn } ] },
{ id: 2, ... },
{ id: 3, ... },
{ id: n, ...…

Ivo Silva
- 350
- 4
- 20