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 Setting dgrid indentWidth

i have created a new dgrid with a selector and tree column. I can get my data populated and the grid working properly, with the exception of the indent on childNodes in the tree column. I have created my tree as follows : var treeGrid = new…
Burglins
  • 1
  • 1
0
votes
1 answer

how to keep a radio button checked inside a dojo dgrid?

how to keep a radio button checked inside a dojo dgrid ? i m getting previously checked values from backend , able to display values , but radio button remains unchecked !! any resources or solution ? …
0
votes
1 answer

How do I load data for Dojo Dgrid Table using AJAX?

I am exploring using DGrid for my web application. I am trying to have a table similar to this. The code for the example above is here. The table uses a memory store as the source of its data - the summary field there is what shows up when we…
AnkurVj
  • 7,958
  • 10
  • 43
  • 55
0
votes
1 answer

Dojo Dgrid - Events in Configuration

I've been looking into dgrid and I'm trying to figure out if there's a way to attach an event to a grid that uses dojo/on without explicitly calling grid.on but, instead, passes it as a method (or set of methods) in the initial configuration of the…
sgcharlie
  • 1,006
  • 1
  • 10
  • 25
0
votes
1 answer

dgrid - not able to keep selection mode as "single" when using a Dojo Memory/ObjectStore as store

I m not able to keep the selectionMode as "single" or "extended". Only multiple selection of rows is happening, when I m using a dojo Memory/ ObjectStore as store. require([ "dojo/_base/declare", "dojo/request", …
Sandy
  • 466
  • 6
  • 15
0
votes
2 answers

How to perform Header sorting in OnDemandGrid?

How to do sorting in OnDemandGrid with JSONrestStore? I tried sortable:true like below but it did not work. {field: "column1",label: "column1",sortable:true}, {field: "column2",label: "column1",sortable:true} The normal String sorting itself is…
SSayee
  • 95
  • 4
  • 10
0
votes
1 answer

Dojo- domAttr.set not working in IE

I want to set the style attribute to the div tag in dojo 1.8.I have used the following code. require([ "dojo/request", "dojo/store/Memory", "dgrid/OnDemandGrid", "dojo/store/JsonRest", "dojo/dom", …
SSayee
  • 95
  • 4
  • 10
0
votes
1 answer

Dgrid-OnDemandGrid Virtualscrolling

I am using Dgrid OndemandGrid with Jsonrest store.On scrolling,I am taking 40 records from the database. var grid= new OnDemandGrid({ store: jsonstore, columns: Layout, …
SSayee
  • 95
  • 4
  • 10
0
votes
1 answer

How to create a dgrid inside a programatically created Dojo Dialog

I am trying to use a Dojo dgrid inside a programmatically created Dojo Dialog using the following code: define(["dojo/_base/declare","dgrid/Grid", "dijit/Dialog"], function (declare, Grid, Dialog){ return declare("modules.egisDataGrid", null,…
Devdatta Tengshe
  • 4,015
  • 10
  • 46
  • 59
0
votes
2 answers

Export data in csv from dgrid OnDemandGrid

I am using ArcGis JavaScript 3.5 APIs and after seaching the data from the map, i am putting the data in dgrid.OnDemandGrid. This everything is working fine . I want to ask Is there any option to export the resulten data into csv file ?
Rahul Gupta
  • 105
  • 4
  • 16
0
votes
2 answers

Adding dgrids with variable widths to TabContainer

I'm populating a TabContainer with grids (Dojo 1.8, dgrid) that are showing the results of a query for different datasets. Each tab is the result of a single dataset. The different datasets will have a varying number of fields, so I'm dynamically…
kenbuja
  • 252
  • 5
  • 16
0
votes
1 answer

Duplicated rows when sorting dgrid 0.3.6

I've been using dgrid 0.3.2 along with JsonRest to display tables of data. Recently, I've been looking at upgrading to dgrid 0.3.6 or 0.3.7. Things work mostly the same, but it seems with the newer versions of dgrid that, if the user clicks a…
bobby_light
  • 726
  • 5
  • 14
0
votes
2 answers

Preload all children for dojo dgrid

So I'm a first time user of dgrid, and I'm currently building my tree grid like this: var SelectionGrid = new declare([OnDemandGrid, Selection, Keyboard]); var myGrid = new SelectionGrid({ store: myStore, …
Bal
  • 2,027
  • 4
  • 25
  • 51
0
votes
1 answer

drgrid not rendering unless cache is cleared

I have a rather large dojo project in which I am using dgrid to display data from local storage. Some of the drgids do not render unless the browser cache is cleared first. This manifests itself in IE10 and Chrome but not Safara. There are no JS…
Mc.Stever
  • 782
  • 6
  • 16
0
votes
1 answer

Use of Dojo 1.8 functions to execute on JSF ajax result

I am new to Dojo (and in fact all front end programming, I have been working on server side for years in Java and C#). I am currently working with Java Server Faces (JSF) 2.1 and trying to put together a simple demo using JSF and Dojo Grid (dgrid)…
PaulP1975
  • 528
  • 1
  • 5
  • 12