Questions tagged [dgrid]

dgrid is a component for creating lists and grids based on the Dojo Toolkit. dgrid is a completely portable AMD package designed to be lightweight, CSS-centric, easily extensible and mobile-ready. It's released under the same open-source license and CLA as the Dojo Toolkit (BSD/AFLv2).

dgrid is a component for creating lists and grids based on the Dojo Toolkit. dgrid is a completely portable AMD package in the Dojo Foundation package repository designed to be lightweight, CSS-centric, easily extensible and mobile-ready. It's released under the same open-source license and CLA as the Dojo Toolkit (BSD/AFLv2).

Features:

  • Keyboard navigation & ARIA role support for accessibility
  • i18n support
  • Asynchronous data retrieval & row rendering
  • Row & column drag’n'drop
  • jQuery ThemeRoller theme support
  • Native support for dojo/store (0.3 and earlier) or dstore (0.4 and later)
  • Automatic updates with Observable / Trackable stores
  • Inline cell editors, including support for Dijit form widgets as editors
  • Unlimited-depth tree support
  • Support for multiple independent column sets
  • Support for records rendered to multiple sub-rows
  • Support for custom formatting functions for cell contents
  • A complete row selection engine, including multi-row and indirect (checkbox-based) selection
  • ColumnHider: Shows and hides columns via a simple menu
  • ColumnReorder: Reorders columns in simple layouts using drag’n'drop
  • CompoundColumns: Allows spanning column headers
  • DijitRegistry: Enables integration with the Dijit registry and Dijit layout widgets
  • Virtual & traditional paging options via OnDemandGrid and Pagination

(The above information was distilled from the beta and 0.4 SitePen blog posts and the feature comparison on dgrid.io)

Useful links:

356 questions
0
votes
1 answer

dojo dgrig jsonrest put response format

So I have a JsonRest store with a dgrid attached to it. I use php and the yii framework. If I fire a PUT I get a response formatted like this: [{id: 1, abbreviation: 'FL' }] Is that the correct form for the row to be updated? Or should I get only…
ps202
  • 95
  • 2
  • 11
0
votes
1 answer

dgrid and stale selected items

I have a stale-data problem with dgrid grids. Assume the following scenario: Grid gets assigned to a JsonStore, it loads relevant data (e.g. GET /api/items) User selects an element, grid emits dgrid-select item which provides a reference to the…
Alpha
  • 7,586
  • 8
  • 59
  • 92
0
votes
1 answer

Dojo codependent filteringselects in dgrid

I would like to implement a codependent filteringselect layout in a dojo dgrid. I tried to follow this tutorial: http://livedocs.dojotoolkit.org/dijit/form/FilteringSelect#codependent-filteringselect-combobox-widgets My problem is, that I can not…
ps202
  • 95
  • 2
  • 11
0
votes
1 answer

Dojo Dgrid - canedit on filteringselect

I have a dgrid assigned to a REST service with JSON. It works fine. I have a filterselect in one of the columns. The filterselect is populated from another dojo store. My question is, how can I disable the filterselect when it's value is for…
ps202
  • 95
  • 2
  • 11
0
votes
1 answer

Dojo dgrid launch a LightBoxNano popup when clicking a cell

I would like to launch a LightBoxNano image popup when clicking a cell in a dgrid. How can I achieve this? Thanks! Here is some code: var columns = [ { label: 'Picture', field: 'filename', formatter:…
ps202
  • 95
  • 2
  • 11
0
votes
0 answers

dojo/dnd/autoscroll: how to hamper the squirrel-like autoscroll speed

I'm using dnd on a 120px tall dgrid and it's nearly impossible to hit my drop target. The default auto-scroll feature is too fast for this small grid. Is there a way to set an acceleration value or correlate the scroll speed with the closeness to…
Corey Alix
  • 2,694
  • 2
  • 27
  • 38
0
votes
1 answer

Trouble with Dojo Dgrid

I wanted to replace dojox.grid.DataGrid with new Dgrid but I have trouble with it. I'm using Dojo 1.9.1 and here is excerpts of my code: HTML: