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
1
vote
1 answer

Custom http query string for server-side sorting in dojox.grid.datagrid

I use MongoDB as application data storage. To sort retrieved documents, I write the following code (in perl): $db->user->find({})->sort({ username => -1 }) where { username => -1 } means that the result of the query should be sorted by attribute…
1
vote
1 answer

How to get column index from column name in dojo Enhanced grid?

How can i get the column index from the column name in the dojo enhanced grid ???? Any help would be appreciated
Vikram
  • 51
  • 1
  • 6
1
vote
0 answers

Dojo enhanced datagrid and nested json string

I am having great difficulty in feeding my json string to my dojo enhanced datagrid. Now basically I have a person entity which has a date-of-birth and a nationality. On the person Table nationality is a forign Key. I am using spring 3.0 and here…
Faiyet
  • 5,341
  • 14
  • 51
  • 66
1
vote
1 answer

How to get row id with Dojo dataGrid

I'm using dojo dataGrid, and i need to get the row id. When i use the "rowIndex" event, i get the "id" of the row, but, if i sort the grid, the data keeps another value in the row "id". Can someone tell me how to solve this problem ? Thanks
afdesigns
  • 77
  • 2
  • 7
1
vote
1 answer

How to add icons to Dojo grid header?

How can i add icon to dojo grid header. I tried setting the headerClasses with appropriate css class but dint work. sample css class i used .sample{ background : url ('______') no-repeat right top; } this never worked for me. Any help would be…
Vikram
  • 51
  • 1
  • 6
1
vote
2 answers

How to Update dojo grid using json object?

Can some one pls tell me how to update data grid using a json object. My data grid is created as beleow. var grid4 = new dojox.grid.DataGrid({ query : { number: '*' }, …
nath
  • 2,848
  • 12
  • 45
  • 75
1
vote
1 answer

dojo datagrid change cell types on the fly

Is it possible to change the type of cell (i.e., from Select to Bool) in the cell of a data grid once the grid has been rendered? Thanks.
El Guapo
  • 5,581
  • 7
  • 54
  • 82
1
vote
2 answers

dojox DataGrid onStyleRow works first time, then not again

I am trying to make a legend using a DataGrid . My problem is, I want the text in the Datagrid to be colored. I use the onStyleRow function as outlined here: (http://dojotoolkit.org/reference-guide/dojox/grid/DataGrid.html) and it works the first…
user903805
  • 11
  • 1
  • 3
1
vote
1 answer

Data sorting in a dojox.grid.EnhancedGrid

First of all, thank you a lot for what you are doing here. That is very nice. I am developing a web application with Dojo, and I am facing a problem with ordering my rows in a dojox.grid.EnhancedGrid. Let's say i have a product with product status,…
storm_buster
  • 7,362
  • 18
  • 53
  • 75
1
vote
1 answer

How to change font color of a dojo DataGrid row after a cell has been edited

I want to change the font color of a row after a cell in that row has been edited and set to a certain value. myStore is the dojo.data.ItemFileWriteStore associated to the dojox.grid.DataGrid dataGrid. I have written this: myStore.onSet =…
perissf
  • 15,979
  • 14
  • 80
  • 117
1
vote
1 answer

Dojox.grid.datagrid sorting order

I was trying to understand the sorting behavior of the dojox.grid.Datagrid, particularly wondering about a multi-column grid that if sorted on a column where 2 (or more) rows have identical cell values then what determines the order in which they…
Traker
  • 2,147
  • 3
  • 23
  • 38
1
vote
0 answers

Why is my page not rendering EnhancedGrid

Good day to all, while studying dojo, I ran into a problem that I do not draw an EnhancedGrid on my page. this error appears in the browser console: dojo.js.uncompressed.js:1321 Uncaught TypeError: Cannot read property 'get' of null at…
1
vote
4 answers

dojox.grid.DataGrid hide/disable the header of the grid

I need a option to hide the header from a dojox.grid.DataGrid grid. Didn't find anything. I'm grateful for any info!
Andree_H
  • 41
  • 1
  • 6
1
vote
1 answer

How to migrate a dojo (dojo 0.x) FilteringTable to a DataGrid in (dojo 1.6)?

Im migrating and extending an existing Web Application based on a very old Dojo Framework. Declarative Setup of the table: OLD …
elfwyn
  • 568
  • 2
  • 11
  • 33
1
vote
1 answer

loading dijit calendar on click of dijit icon button with specific dates disabled

I'm trying to load a dijit calendar on click of dijit icon button with specific dates disabled, for this I tried two ways first one: loading calendar in js function getting error as trying to register "id==mycal" but that id is already registered…