FAQ Database Discussion Community


Using Dojo Grid with a Memory store

javascript,dojo,dojox.grid.datagrid,dojox.grid
I'm having some problems getting the Dojo Grid widget to work. The grid itself is added declaratively: <table data-dojo-type="dojox.grid.DataGrid" data-dojo-attach-point="relationshipsGrid"></table> Next, I'm trying to bind the grid to a Memory data store: var relationships = [ { id: 1, market: "SE", entity: "An object" }, { id: 2, market: "SE",...

Is there a method in dojo 1.6 to get the current page for dojox.grid.EnhancedGrid?

dojo,dojox.grid.datagrid,dojox.grid
My first question, please be kind. I'm using the Enhanced Grid's pagination plugin and I cannot find how to get the handle on the current page. For example: I am on page 3 of 10 pages, i want to store this page number in my cookie so that when I...

Column values not changed after edit the coulmn in GRIDX

dojo,dojox.grid.datagrid,dojox.grid,dojox.charting,dojo.gridx
Am using Dojo Gridx in my project. These are my columns names id, field1, field2, active status I have a assignment, when click column active status need to change the active status value, column icon and field1, field2 values. For example : if active status values is 'Y' when I...

Why Dojo grid.refresh is making another server call?

javascript,dojo,dojox.grid
We are using dojo JsonRest. Whenever we need to refresh the grid with new data, dojo is firing two server calls. Below is the code. var MyJsonRest = declare(JsonRest, { get: function(id, options) { return this.inherited( arguments, [id, lang.mixin(this.headers, options)]); } }); myDataStore = MyJsonRest({ target: someurl, headers: { 'moduleUName':...