I'd like to hava a Dojo dojox.grid.DataGrid with its data from a servlet.
Problem: The data returned from the servlet does not get displayed, just the message "Sorry, an error has occured".
If I just place the JSON string into the HTML, it works. ARRRRGGH.
Can anyone please help me!
Thanks
Jeff Porter
Servlet code...
public void do...
i have a problem using dojox.grid.DataGrid, im using this code to load inside dojox.layout.ContentPane, sadly in IE7 and IE8 doesnt work, but in firefox 3.6 does work perfectly.
function getHTML(URL, dest) {
var myCp= dijit.byId(destino);
myCp.destroyDescendants();
myCp.attr("href", URL);`
This is my first time using Doj...
How can I get the Selected Row Object of dojox.enhancedGrid ?
I am using selectionMode: 'single'
e.g. with Radio Buttons.
dijit.byId("gridViewWidget").selection.selectedIndex
Returns the rowIndex.
But how to get the rowObject of that Index ?
I can get the rowNode()But What I need is value of the id column of that Row.
Its possible to t...
I am using a dojox.grid.DataGrid with a dojox.data.QueryReadStore. As the user scrolls the grid, the grid lazy loads rows from the store and keeps them in memory. Using Firefox on Linux or IE 7 or 8 on Windows, it appears that these rows are never cleared, and the footprint of the browser window will continue to grow (as observed in to...
How to use ItemFileWriteStore in case of Dojox DataGrid. I want to save the data (which may be edited at runtime) back to json. Do you have example of the same?? Please post it here.
...
I have a table that contains multiple rows. In one row I have two datagrids that load up properly with the data that is provided but if the header column is clicked then the entire data of the grid just vanishes and the rows beneath the grid row move up. I am only showing the one item but the results are the same.
function addRow(){
...
I have the following XML-File:
<filter>
<rule>
<name>User1</name>
<mail>
<address>[email protected]</address>
<address>[email protected]</address>
<address>[email protected]</address>
</mail>
</rule>
<rule>
...
I have a dojox.grid.DataGrid, and one of the columns has date data in it. e.g.
09:01:00 18/10/2010
09:03:00 18/10/2010
09:02:00 19/10/2010
When I click the heading and sort the column, I get this...
09:01:00 18/10/2010
09:02:00 19/10/2010
09:03:00 18/10/2010
It has sorted on the String value, not sorting it as a date value, hen...
Hi all,
i have a datagrid (created programmatically) wich is connected to an JsonRestStore.
In that Grid there are some columns rendered as checkboxes (type:dojox.grid.cells.Bool)
Everything works fine, displaying Data and so on. To be able to edit inline, i connected the onApplyEdit to store.save. The Problem is, that the change of the...
Hi, we are using a dojox.grid.DataGrid in a jsp.
<script type="dojo/method" event="onStyleRow" args="inRow">
var grid = dijit.byId("someID");
var item = grid.getItem(inRow.index);
if(item != undefined) {
if(item.someAttribute == "1") {
inRow.customClasses = "dojoxGridMYRow";
} else {
i...
Hi,
as long as i know, the dojox.grid.datagrid should be "data aware" wich means, if i delete an item from the jsonreststore, it should get deleted from the datagrid too...
but - the grid is updated only if there is an error in the json-resonse from the delete-Request. If i return 204 as status code, nothing happens (in the grid, the d...
I am using a dojox.grid.DataGrid to display data and allow the user to select one or more rows to highlight items to do other actions to.
My problem is that the grid uses indexes to remember the selected rows. If I have turned clientSort on, sorting the rows makes the rows change order but the selection changes to the rows that now occ...