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

How to Display JSON data from REST Service using dojox.grid.DataGrid (Dojo 1.8)?

I have rest service which produce JSON data below : { "root": { "branches": [ { "branch_addr": "string", "branch_telp": "string", "branch_loc": "string", "branch_dept_it": { …
alderi
  • 45
  • 1
  • 7
2
votes
0 answers

dojox.grid.DataGrid to XML

I need to get the XPages Extension Library DataGrid () content out as XML. In my client side JavaScipt I'm looping thru all rows, getting values and building my XML using dojox.data.XmlStore. The problem is that when I try to save…
Panu Haaramo
  • 2,932
  • 19
  • 41
2
votes
2 answers

Disable or enable edit for selective cell in dojox data grid

How to disable or enable edit for selective cell in dojox data grid i.e Imagine I have two columns (A, B) in a data grid. I want column value of B to be editable based on the value of column A. I have seen one solution in stack overflow which was…
2
votes
1 answer

Dojo IE DataGrid inline editing

I have enabled inline editing of cells in DataGrid and it is working fine all browsers except IE. The problem is that after double clicking a cell and performing changed in values of cell, I have to double click on another cell within the grid. If I…
2
votes
1 answer

How to sort dojox.grid.DataGrid with wink-based REST API?

I'm using the Dojo datagrid client side, it works well and according to documentation it generates the following GET request when clicking on the column header: GET http://localhost:8080/books/rest/books?sort(+isbn) Problem is that I can't…
toby88
  • 105
  • 2
  • 5
2
votes
3 answers

Dojo Datagrid - Style selected row programmatically

Is it possible to style the selected row of a Datagrid programmatically? Can anyone give a snippet ?
Redg
  • 399
  • 1
  • 6
  • 16
2
votes
1 answer

Dojo.toJson() method return "null" string

Here we convert dijit.form.TextBox to json format using dojo.toJson. Without any input it returns "null" which we expect to be "". Source code are as follows: //aspx code
1
vote
1 answer

Subclass QueryReadStore or ItemFileWriteStore to include write api and server side paging and sorting.

I am using Struts 2 and want to include an editable server side paging and sorting grid. I need to sublclass the QueryReadStore to implement the write and notification APIs. I do not want to inlcude server side REST services so i do not want to use…
pratik
  • 119
  • 10
1
vote
1 answer

update DataGrid when JsonRestStore has new data

Dojo Version is 1.7.2 I have a DataGrid which is filled with data from a MemoryStore. It works fine but the data in the grid is not updated when objects are updated in the store. this is how the grid and the store are connected: formStore =…
Micha Roon
  • 3,957
  • 2
  • 30
  • 48
1
vote
1 answer

Displaying Data in Dojogrid using dojo.xhrget() method

I want to display a set of data which i am retrieving by an asynchronous call to the server using dojo.xhrget() method. I am retrieving data through a URL and i want that everytime a user clicks in content pane a new set of values gets displayed in…
Shantanu Tomar
  • 1,572
  • 7
  • 38
  • 64
1
vote
2 answers

dojox.grid.DataGrid Data display.

I have this JSP page. When i run it i don't get any errors. But don't get the data either using Data Grid. <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> <%@ page…
Shantanu Tomar
  • 1,572
  • 7
  • 38
  • 64
1
vote
1 answer

Mix and match Declarative and Programmatic declaration? (Dojo/JS)

I am working on an old code base which uses dojo datagrid and JsonRestStore, using declarative approach(in HTML). I am now trying to adapt this to use the newer dojo.store.JsonRest . When I declare the JsonRest and ObjectStore in HTML, it works. I…
navjotk
  • 818
  • 1
  • 9
  • 15
1
vote
1 answer

No Query are sent using Dojo Json Rest Store with Enhanced DataGrid

Im using Dojo 1.7.1 dojo.store.JsonRest to fill an EnhancedGrid with data. However using Firebug I do not see any queries sent neither on startup nor on filtering afterwarts. The Table remains empty. Overview: An enhanced Grid and a JsonRest Store…
elfwyn
  • 568
  • 2
  • 11
  • 33
1
vote
1 answer

Dojo tabContainer doesn't show Dojo controls properly

I'm trying to write a complex application using Dojo toolkit, The main screen contains: left main menu which is Dojo accordion, top strip and main page which is tabContainer that opened a new tab every hit on left menu, I try to show in the new tab…
Shlomi Elbaz
  • 59
  • 1
  • 5
1
vote
2 answers

Dojo DataGrid Not Showing

In my dojo.xhrGet I have specified this load:: load: function (data) { // reset data display containers dojo.addClass("search_results", "hide_on_load"); dojo.byId("search_results_found").innerHTML = ""; // populate table with new…
user290043