Questions tagged [dojox.grid.datagrid]

Grids are familiar in the client/server development world. Basically a grid is a kind of mini spreadsheet, commonly used to display details on master-detail forms. From HTML terms, a grid is a “super-table” with its own scrollable viewport.

Grids are familiar in the client/server development world. Basically a grid is a kind of mini spreadsheet, commonly used to display details on master-detail forms. From HTML terms, a grid is a “super-table” with its own scrollable viewport.

See: http://dojotoolkit.org/reference-guide/1.7/dojox/grid/DataGrid.html

360 questions
3
votes
1 answer

Check box "ticked" on page 1 is reflected in page 2 in EnhancedGrid

I have a enhancedgrid and used on two pages. When check box (component of data enhanced grid) is checked on page1, the equivalent row(s) on pg 2 are then ticked. My enhancedgrid code is grid = new dojox.grid.EnhancedGrid({ …
Coding
  • 613
  • 1
  • 6
  • 6
2
votes
1 answer

Datagrid autoheight + lazy loading

I have a Dojo Datagrid which has 10 columns and about 400 records of data... it doesn't seem like that much but it is very very slow to scroll... I have another Datagrid which has some 5k records and it scrolls faster. The only difference between…
Ayyoudy
  • 3,641
  • 11
  • 47
  • 65
2
votes
2 answers

Dojo Datagrid always shows outdated data

I am using a Dojo Datagrid connected to a dojo.store.JsonRest through an dojo.data.ObjectStore and a dojo.store.Cache. There is also a dojo.store.Memory connected to the Cache store. The datagrid is editable with drop-downs. The first time a value…
navjotk
  • 818
  • 1
  • 9
  • 15
2
votes
2 answers

Is dojo/on expected to be used when capturing events for DataGrid, with Dojo 1.7 and the AMD loader?

I'm converting a Dojo 1.6.1 DataGrid example to use the AMD loader in Dojo 1.7, and try and do things the "1.7 way". Currently, I have dojo.connect(grid, "onApplyEdit", applyEdit); but I'd like to convert this to use dojo/on. I thought a simple…
Reuben
  • 4,136
  • 2
  • 48
  • 57
2
votes
2 answers

how to access via JS a Dojo DataGrid declared in HTML?

I've got a Dojo DataGrid defined in my HTML:
id foo
Dan O
  • 6,022
  • 2
  • 32
  • 50
2
votes
2 answers

Dojo DataGrid Context Menu onRowContextMenu displays even when right-clicking in BLANK area of DataGrid

I have a DataGrid that has items in it. When you right-click on one of the rows, a Dojo Context Menu is displayed with the option to delete that row. If you try to right-click on a blank area of the DataGrid, the context menu is NOT displayed.... …
2
votes
2 answers

Adding a datagrid inside another datagrid

I have a datagrid that uses a data structure like: [ { name: "test" sub_things: [ { name: "blah" }] } ] Each row will have varying numbers of sub things and I an trying to add them as subrows in a row in the datagrid by adding another…
trobrock
  • 46,549
  • 11
  • 40
  • 46
2
votes
1 answer

When declaratively creating a dojox.grid.DataGrid - how to specify nested data in the field attribute?

I'm creating a dojox.grid.DataGrid in dojo 1.6 with the following notation: …
elfwyn
  • 568
  • 2
  • 11
  • 33
2
votes
1 answer

How do I change individual cell values in a Dojo datagrid

I have a dojo datagrid which cells I will like to change at will depending on changes in user choice. The store used for the grid is populated from multiple database tables. This particular feature is very central to the application I am working on…
Napoleon
  • 879
  • 2
  • 14
  • 36
2
votes
2 answers

How to add vertical scrollbar to dojox.grid.DataGrid?

How to add vertical scrollbar to dojox.grid.DataGrid ?
Damir
  • 54,277
  • 94
  • 246
  • 365
2
votes
3 answers

Dojo datagrid with date and time

Could someone here please, for the love of God!, post an example of an working dojox.grid.DataGrid using a dojox.data.JsonRestStore, with 2 columns, date and time? I have tried the following :
ID Name Telephone
noru
  • 547
  • 2
  • 6
  • 21
2
votes
1 answer

How to find only dirty object without iterating items in an ObjectStore of EnhancedGrid

Is there any way to get only dirty object without iterating items in an ObjectStore of EnhancedGrid?
Ajay Kumar
  • 71
  • 8
2
votes
1 answer

Is there any way to read the dojo Objectstore and convert it as JS array object

Looking for a way to read the all the rows from DOJO enhancedgrid ObjectStore as JS Array object. OnRowClick, I need to get the all items as an array. Here is the sample code: Layout, Id are defined in another methods. Id is first header. IN the…
Ajay Kumar
  • 71
  • 8
2
votes
3 answers

Event to highlight a cell in enhanced grid

I am using dojo toolkit version 1.10. We have a problem where we need to highlight a particular cell. We can able to highlight a row on onStyleRow. But is there any way to highlight a particular cell in enhanced grid? EDITED: For formatter I have…
shv22
  • 680
  • 5
  • 28
2
votes
1 answer

dojox.grid.DataGrid: how to access data from a click event?

I'm using Dojo 1.5 (including dojox). I have a dojox.grid.DataGrid where each row represents a user. When I click a row, I want to redirect to a URL like /users/USER_ID. The user ID is one of the fields in the grid, so all I need to do in my…
qdw
  • 21
  • 1
  • 4
1
2
3
23 24