Questions tagged [dojo.gridx]

Dojo gridx is "The next generation of dojo enhanced data grid". Alternative implementation of data grid for Dojo.

Dojo gridx is the highly modularized data grid for Dojo framework, alternative for standard data grid and dgrid. The project site is http://oria.github.io/gridx/

Documentation

There's a basic documentation under https://github.com/oria/gridx/wiki

However, that documentation is not comprehensive. To learn what modules you can use and what configuration options do they take, as well as see working code examples, see the examples and test cases in tests subdirectory of GridX distribution.

95 questions
7
votes
1 answer

How to focus second Cell when add a new row in dojo.gridX

I am using dojo.gridx to display my values. Sometimes user can create a new row. So that I have added a new button when click newRow button, will call onclick method. In that method has create new row codes. My codes are below. addRow: function()…
KSK
  • 636
  • 1
  • 9
  • 29
4
votes
1 answer

How to give local variables as properties to cell editor in editable GridX?

I'm using Dojo 1.9 with GridX 1.2. I'm just configuring the ComboBox as editor to the cells in the grid. I have found the following configuration syntax in the examples: editor: "dijit/form/ComboBox", editorArgs: { props: 'store:…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
3
votes
3 answers

Gridx/Dojo & jQuery : Is there a callback when sorting is completed?

This table is generated using GridX / dojo in NodeWebkit. The "[BV][B][V]" are links that are handled by jQuery using class selector. However, once I sort the grid, the listeners are unbinded. How do I reapply the click function? Is there a…
Lord Loh.
  • 2,437
  • 7
  • 39
  • 64
3
votes
2 answers

How to refresh dojo gridx after the memory store has changed?

I'm using dojo 1.9 and gridx. The grid is initialized with memory store. But when the data have changed, I update the store but I see no changes applied to grid. It has no refresh() method (like dgrid). However, I've found the following sequence: …
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
2
votes
1 answer

GridX set class for row (based on row data)

Is it possible for GridX to set the class for the given row, based on the data in that row? I'd like to show with special color the rows that were added or changed. That information will be stored in the object as a special field. As for now, I've…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
2
votes
0 answers

How to include gridx and every dependency in a dojo build

I have a ton of dependencies in a Dojo build that, even after being built, are still loaded by the HTTP request. I have the specific dependencies for my…
cwill747
  • 536
  • 4
  • 11
2
votes
1 answer

Dojo GridX with row headers or rowspan?

Is it possible to user Dojo GridX with some kind of row headers or rowspan? I want to present the hierarchical (2-level) structure in the grid - a grouping item has some subitems, such like: ---------------------------| | | Address 1 …
Web Devie
  • 1,207
  • 1
  • 13
  • 30
2
votes
1 answer

How to launch GridX column width recalculation after the grid has been started up?

According to documentation: https://github.com/oria/gridx/wiki/Create-the-Simplest-Gridx Never forget to call grid.startup(), since the column width calculation and layout rendering need to access the geometry information of grid DOM nodes. If…
Web Devie
  • 1,207
  • 1
  • 13
  • 30
2
votes
0 answers

Dojo GridX inside-column filter plugin?

Does the GridX have the functionality of inside-column filtering such as PrimeFaces DataTable: http://www.primefaces.org/showcase/ui/datatableFiltering.jsf? I couldn't find an example for it, or extension plugin doing this, but I'm not sure what is…
Web Devie
  • 1,207
  • 1
  • 13
  • 30
2
votes
1 answer

How to filter the options of select component in the cell editor of Dojo GridX by the value of another cell?

How to filter the options of the select component (FilteringSelect or ComboBox) by the value of another cell in the same row? I'm using GridX version 1.2 with Dojo 1.9. I have rows with 2 select widgets, where one of them should be filtered by the…
Danubian Sailor
  • 1
  • 38
  • 145
  • 223
2
votes
0 answers

Dojo Gridx with nested data store?

EDIT: the answer is to use a formatter function (see below) If you have a data store something like this: var store = new Store({ data: [ { id: 1, username: {first: 'John', last: 'Doe'}, score: 130, city: 'New York',…
rayduels
  • 83
  • 1
  • 5
2
votes
1 answer

getting row content from dojo.gridx it always shows the old data initially loaded

I'm trying to retrieve the data values stored in a dojo.gridx table as the relevant row is clicked. It works fine as long as the following function is called the first time, when that function is called again with new data, then those data appear…
vinloren
  • 93
  • 1
  • 7
2
votes
2 answers

Dojo Gridx with JsonStore

I'm trying to connect Gridx grid to JsonStore. The code and data is bellow. The problem is that Gridx is rendered correctly but it says: No items to display. Anybody know what I'm doing wrong? Dojo and Gridx are the latest versions installed with…
redman
  • 2,115
  • 5
  • 32
  • 59
1
vote
0 answers

dojo Datagrid filter select that allows user to select from a list of values in the column

I m using dojo datagrid which contains 2 columns "name" and "age" , the requirement is to provide the filtering option on the "name" column in the datagrid. so that user can search and select his/her name from the list of values ,by clicking on…
1
vote
0 answers

How to use Dojo dgrid in jsp table?

I am trying to implement dojo dgrid in my existing jsp table. I tried the example give here, and it works, but the issue is I am using a table, and I want to generate my JSON data in a way that it stores in , so it's properly aligned. I also checked…
user2798227
  • 853
  • 1
  • 16
  • 31
1
2 3 4 5 6 7