forked from dojo/dojo1-dgrid
-
Notifications
You must be signed in to change notification settings - Fork 0
DijitRegistry
Kenneth G. Franqueiro edited this page Sep 30, 2013
·
5 revisions
The DijitRegistry extension adds a couple of considerations for working with Dijit, particularly useful when a dgrid instance is to live inside of a Dijit layout widget. Its primary purpose is to add dgrid instances to the Dijit registry, as well as provide a couple of methods and properties which Dijit widgets will generally expect to exist.
require([
"dojo/_base/declare", "dgrid/OnDemandGrid", "dgrid/extensions/DijitRegistry"
], function(declare, OnDemandGrid, DijitRegistry){
var grid = new (declare([OnDemandGrid, DijitRegistry]))({
store: myStore,
columns: myColumns
}, "grid");
});
See Working with Widgets for more information.