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
9
votes
1 answer

Widgets inside dojo dgrid

Our company moved from dojox/DataGrid to dgrid some time back. Now we are finding out, dgrid doesn't seem to support dijit/dojox widgets out of the box. dojox/DataGrid has a formatter() that can return a widget. So easy to doo it there! The API…
Gaurav Ramanan
  • 3,655
  • 2
  • 21
  • 29
8
votes
6 answers

How to refresh datagrid

I create dojox.grid.datagrid and I fill content from array like on example last example on page. During time, I change value of that array in code. How to refresh content of that grid ? How to load new data from changed array ?
Damir
  • 54,277
  • 94
  • 246
  • 365
6
votes
2 answers

How to programmatically create a dijit.Dialog with a dojox.grid.DataGrid

I have the following problem: Programmatically creating a dijit.Dialog and a dojox.grid.DataGrid (linked to a global Variable Data Store (dojo.store.Memory) ) the content of the Dialog is not shown while the Dialog size remains at a minimum. The…
elfwyn
  • 568
  • 2
  • 11
  • 33
5
votes
2 answers

How we can pass dojo EnhancedGrid Store items to spring MVC Controller and save in DB?

My requirement is to do read, update, delete & insert operations of datas from DB using front end as DOJO & Spring MVC. I am able to fetch the records from db and display in DOJO Enhanced Grid(Editable Grid). On editing the grid data, I don't know…
Justin John
  • 9,223
  • 14
  • 70
  • 129
5
votes
2 answers

Dojo Enhanced Grid with JSONREST issues

I'm trying to use a enhanced grid with Dojo JSONREST and i'm running into some issues. I've been looking up some examples but can't figure out how to do what i need. In the code below my rest service takes two parameters, and the query on the…
blu10
  • 534
  • 2
  • 6
  • 28
4
votes
4 answers

how to check dojo.datagrid loading completed?

I have a dojo.datagrid in one of my pages. Datagrid and its store(by calling an URL) are created by declarative method. not by dynamic/programmatic. I need to execute a javascript method which displays a div(which requires few data from the…
Raj
  • 91
  • 2
  • 3
  • 9
4
votes
2 answers

changing a dojo datagrids structure dynamically

I am having trouble attempting to change the structure of a datagrid after new information is received. I need to be able to change the number of columns everytime a query is made. The javascript code I use to create the grid function setgrid(){ …
4
votes
2 answers

dojox.enhancedGrid get Selected Row

How can I get the Selected Row Object of dojox.enhancedGrid ? I am using selectionMode: 'single' e.g. with Radio Buttons. dijit.byId("gridViewWidget").selection.selectedIndex Returns the rowIndex. But how to get the rowObject of that Index ? I can…
Neel Basu
  • 12,638
  • 12
  • 82
  • 146
4
votes
2 answers

how to save a filter in Dojo

I have an EnhancedGrid that users regularly use complex filters on. Is there a way to allow users to save or bookmark a filter so they can easily re-apply it in future? I know I can programmatically set a filter, but I can't predict what filters my…
WoodenKitty
  • 6,521
  • 8
  • 53
  • 73
3
votes
2 answers

How to detect if a text-field needs to wrap in JavaScript/dojo?

I have a textfield in a grid in which I wish to turn off text wrapping, but display a tooltip with the full text if wrapping is required. So, how could I detect if a field needs to wrap? I tried to query the field's length, but it was either in em…
Saurabh
  • 451
  • 2
  • 4
  • 18
3
votes
1 answer

Rowspan for rows (not for headers) in DOJO grid...

I have a scenario where i need to group the cells alone (not for the headers). eg... A A1 1 A A2 2 A A3 3 A A4 4 B B1 1 B B2 2 B B3 3 B B4 4 In the above table, instead of having 4 A's and 3 B's in the first column, can we merge them in to a single…
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
3 answers

Xpages Dojo xhrGET chaining load functions of different xhrGET

I have an interesting situation. I am creating an Enhanced Datagrid (ith about 24000 entries). So I am planning to load a small subset to display some data to user while another request finishes. you can see what I am trying to do in code below. Now…
Arun
  • 229
  • 3
  • 14
3
votes
1 answer

Date sort on click of dojo grid header

I am trying to sort date in the dojo grid. But the sorting is not happening properly, it considers date as string and sorting doesn't work. Is there anyway that would help me? My date format: EE MMM dd yyyy HH:mm:ss z My code: myStore = new…
NaveenG
  • 292
  • 3
  • 11
3
votes
2 answers

How to get dojo data grid cell in edit mode by default

I am looking to get dojo datagrid appear by default in edit mode. How can this be accomplished? Or Can this invoked programmatically outside of grid?
Ashish Rajan
  • 1,202
  • 5
  • 15
  • 27
1
2 3
23 24