Questions tagged [dojox.grid]

Data Grid module of Dojo Toolkit (a JavaScript toolkit).

244 questions
3
votes
2 answers

Dojo scroll problem with DataGrid

I have problem in DOJO with DataGrid. I refresh my grid on every 1 sec with this code window.store_data_log= new dojo.data.ItemFileReadStore({data:{items:temp}}); var grid = dijit.byId("grid_log"); grid.setStore(window.store_data_log); and it works…
Damir
  • 54,277
  • 94
  • 246
  • 365
3
votes
1 answer

Looking for Examples and Source of a working Dojo TreeGrid widget

Anyone know of some working examples with source of the dojox.grid.TreeGrid widget? The docs on DojoCampus don't have an example and the nightly test doesn't have source. Supposedly, this is trunked in Dojo 1.4, but I can't get it working.
srock
  • 533
  • 1
  • 7
  • 15
3
votes
2 answers

Set the status text on a Dojo EnhancedGrid FilterBar

The FilterBar on an EnhancedGrid has a label that displays "No Filter Applied", "0 of 100 items shown", etc. Is there a way that I can programmatically change this text to anything I want? Thanks, Tristan Edit: Ken's approach works well for me, but…
WoodenKitty
  • 6,521
  • 8
  • 53
  • 73
3
votes
1 answer

DOJO json layout structure is not working

I have a json response like this { "listResponse": { "page":0, "rows":10, "total":9, "items": [ { "abbr": "ec", "name": "Ecuador", "capital": "Quito" }, { "abbr": "eg", "name": "Egypt", "capital":…
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 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
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

Set datagrid to show just 5 rows per page

I am using DOJO for data grid presentation
but problem is that grid_log…
Damir
  • 54,277
  • 94
  • 246
  • 365
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
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
2
votes
1 answer

Dojo: Get displayed items from an DojoX Grid

Is there any way to get all displayed items from an dojox.grid? We have an Filter with querys, now we need all items displayed in the moment. To get all selected items is no problem with: var items = grid.selection.getSelected();
opHASnoNAME
  • 20,224
  • 26
  • 98
  • 143
2
votes
3 answers

dojox.grid.DataGrid custom sort method?

I have a dojox.grid.DataGrid, and one of the columns has date data in it. e.g. 09:01:00 18/10/2010 09:03:00 18/10/2010 09:02:00 19/10/2010 When I click the heading and sort the column, I get this... 09:01:00 18/10/2010 09:02:00 19/10/2010 …
jeff porter
  • 6,560
  • 13
  • 65
  • 123
2
votes
0 answers

dojo grid filter by dates

Here is my problem: I have a grid that displays a list of records along with the date of the record. With that in mind I created a filter form that will allow the user to filter the data based on the dates. The problem here is how can I filter the…
robasc
  • 21
  • 4
2
votes
1 answer

Dojo datagrid disable focus

I am trying to create a matrix using dojox.Datagrid I have disabled the rows and cells in javascript with pointerEvents:none. My probelm is that in IE 11 the double click on the cell messes with the layout scrollbars. I looked into it and it is the…
andrei.b
  • 43
  • 5
2
votes
1 answer

Dojo DataGrid very slow

I have a DataGrid that reads from a XMLStore. There are about 2200 rows in the DataGrid. Every time I scroll the table, it takes a couple of seconds to show the data. It seems like only a few rows (20-25) are retrieved at a time. Is there a way to…
Luiz C.
  • 746
  • 11
  • 22
1
2
3
16 17