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
2
votes
2 answers

Non case-sensitive sorting in dojo dgrid

Is it possible to sort without case-sensitivity? For instance, sorts by default show up like this: Awesomeman adam beyonce but, I'd like to sort like: adam Awesomeman beyonce Is it possible to override the sensitivity easily? From what I can tell…
streetlight
  • 5,968
  • 13
  • 62
  • 101
2
votes
1 answer

dgrid JsonRest store not working

I have the following: require([ "dojo/dom", "dojo/on", "dojo/store/Observable", "dojo/store/JsonRest", "dojo/store/Memory", "dgrid/OnDemandGrid" ], function (dom, on, Observable, JsonRest, Memory, OnDemandGrid) { var…
kitensei
  • 2,510
  • 2
  • 42
  • 68
2
votes
0 answers

Dgrid FilteringSelect Editor with conditional options based on dgrid content

How can I specify different FilteringSelect Option contents per row based on the data or condition in different column of the grid? The Filtering Select is created in Dgrid ColumnSets. Example: I have 2 sets of stores, store1 and store2 Filtering…
2
votes
1 answer

Dojo dGrid with Observable Store Not updating with Single Record

When using an Observable store for a dGrid a call to the notify() method will update a record. See this example: Git Hub Drgid Example However, when there is only one record, notify does not appear to notify the record. This can be seen in the above…
Dazxa
  • 41
  • 6
2
votes
0 answers

how to define different widgets for different rows in dgrid

The dgrid Editor is a column-level plugins, which controls the whole column behavior. Suppose I have a list of parameters, each has different value type that I want to show in different widgets. For example: param1    value1(bool, shown as a…
skyskiff
  • 21
  • 2
2
votes
2 answers

closure compiler externs for Dojo toolkit and dgrid

Does anybody have to share a file for extern definitions for dojo and dgrid ? I am trying to include those in my clojurescript project and to use even 'simple' clsure compiler optimization option. At the moment I have found dgrid and dojo toolkit…
V P
  • 845
  • 10
  • 28
2
votes
1 answer

Dojo dgrid: how style a single row?

I want to style a single row and avoid defining formatters for each cell of my row. Is there an equivalent of the onStyleRow event for the new Dojo dgrid widget? Thanks.
maxxyme
  • 2,164
  • 5
  • 31
  • 48
2
votes
1 answer

Dojo dgrid not displaying "No Results found" Message

i have this as my dgrid constructor , var MyQuickGrid = declare([onDemandGrid,Keyboard,Selection,ColumnHider,ColumnResizer,ColumnReorder]); and the partial config_opts are var config_opts = { loadingMessage: " Loading data...", …
chitwarnold
  • 1,331
  • 2
  • 8
  • 11
2
votes
2 answers

Accessing fields with '@' symbol of object in dGrid

I have an issue to set fields of layer in dGrid. store = new Memory({data: someData}); grid = new Grid({ store: store }); layout = {[label: 'ID', field: '@attributes', formatter: getId]}; grid.set('columns', layout); the someData is an object…
Eugene Yu
  • 3,708
  • 4
  • 21
  • 27
2
votes
1 answer

Dgrid - rowIndex in OnDemandGrid

I am using OnDemandGrid virtuall scrolling with JSONRest store. require([ "dojo/request", "dojo/store/Memory", "dgrid/OnDemandGrid", "dojo/store/JsonRest" ], function (request, Memory,…
SSayee
  • 95
  • 4
  • 10
2
votes
1 answer

Sometimes, dojo dgrid does not render the data correctly

I have a dgrid, and use JsonRest to get data from the server side. I pressed a button to filter the data. Here is the html code:
Jun Zhu
  • 36
  • 3
2
votes
1 answer

IBM Worklight 5.0.6 - Unable to add external Dojo component (script error on require Dojo Dgrid)

I have downloaded Dgrid and, after renaming a folder in dgrid, i move it in Dojo folder. In the HTML I include it like so: