Questions tagged [dojox.grid]

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

244 questions
2
votes
1 answer

Replacing the data in dojox.grid.enhancedGrid

I have created a dojox.grid.EnhancedGrid. The grid is working fine. In some of the rows when the data for any column is blank/null is there, It is shown in grid with 3 dots(...). Is there any way to replace those blank dots with blank(no dots). Or…
user2927223
  • 41
  • 1
  • 7
2
votes
0 answers

Problems with Widgets in dojox DataGrid

I am trying to include some editing Widgets in my dojox.grid.DataGrid seem to be having a lot of difficulty. I have tried everything I can think of to get it to work, but something just isn't going right. When I started having problems, I tried to…
Kitson
  • 1,650
  • 1
  • 18
  • 36
2
votes
1 answer

not able to call a function on pagination dojo enhancedGrid

I tried all the possible ways but it's not working. I want to call a function when I move to another page in a dojo dataGrid (during pagination). I tried the below code, but it's not working... method one: nextPage = function(src) { …
kumar
  • 708
  • 4
  • 15
  • 39
2
votes
1 answer

Not able to add checkboxes to last column in dojo enhanced grid

I am creating the dojo Grid as below and I am using the indirectSelection plugin for creating a checkbox, as below, but by default the checkboxes will come at the first column of the grid. How do I make it to come at the last column? var grid = new…
kumar
  • 708
  • 4
  • 15
  • 39
2
votes
1 answer

Updating Dojo Enhanced Grid Row Style - Post Store Fetch

Using Dojo I've setup a grid which links to a data store. After the grid load I've got a connect function which loops through the rows and sets the row text colour based on the value of a cell. This works fine (code copied below). var gagrid = new…
2
votes
2 answers

Dojo datagrid jsonrest response headers

I'd like to use custom headers to provide some more information about the response data. Is it possible to get the headers in a response from a dojo datagrid hooked up to a jsonRest object via an object store (dojo 1.7)? I see this is possible when…
David Wilton
  • 344
  • 2
  • 11
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
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
2
votes
1 answer

How do I filter a dojo grid on an xpage?

How do we filter the dojo grid (extlib component) that gets its data from the REST service component? I have the grid loaded with data from the view correctly from the REST service component. I also have on the xpage a dropdown where users can…
Anil
  • 45
  • 4
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

Paging is not working, using JsonRest with EnhancedGrid

I'm creating widget for IBM BusinessSpace, and I'm having some difficulties with paging. Data are succesfully returned from database (using restlet) and displayed in a grid. Navigation is also displayed below the grid (next page, previous page, go…
Snowhite
  • 11
  • 1
  • 5
1
vote
1 answer

How to change the data store of a perviously created dojo grid?

Within my on RowClick event handler I have to change the store like: var store = new ItemFileWriteStore({data: somedata}); thisObj.myGrid.store = store but this does not work because some dojo internal assertion fails.
ace
  • 11,526
  • 39
  • 113
  • 193
1
vote
1 answer

How to create smaller dojo store from a main dojo store and keep both in synch?

I have a master store like: var data = { identifier: "pkid", items: [ {pkid: 3456, name: "Tom", kids: [ {pkid: 3459, kidname: "Jenny"}, {pkid: 45698, kidname: "Jimmy"} ] } var mainStore = new ItemFileWriteStore({data: data}); var…
ace
  • 11,526
  • 39
  • 113
  • 193
1
vote
4 answers

Connecting a Dojo data.objectStore or data.ItemFileWriteStore to a grid

I am trying to connect a dojo 1.7 objectStore or itemFileWriteStore to a grid but I;m not sure what I'm doing wrong. When I run my code below using the ItemFileWriteStore, I get the grid headers but I dont see my data. When I use ObjectStore, the…
thiswayup
  • 2,069
  • 8
  • 32
  • 52
1 2
3
16 17