Login Register

data

FisheyeLite Animation doesn't work after changing data

I am workin on a project for the university with fisheyeLite. I make an sortArray to sort an array alphabetically with onclick "abc". It works and sort the array but after that the animation from fisheye doesn't work matter. Can anybody help me? An also problem is that the animation doesnt work on MS Internet Explorer 8. Thanks a lot for your answers.

Code:

{
jdata:"",
templateString: "

" +
"
abc

"+

Grid stops displaying the data when column is clicked.

I am currently trying to get data to show up within the grid. This part is successful but when I click on any of the column headers all the data disappears. Any ideas would be helpful.

I have found some more information that might help. In Firefox 3 the data is being shown until you click on the column to sort in IE the data never shows up at all.

ServiceStore Client Side Caching

I'm playing around with the ServiceStores that will be officially introduced in Dojo 1.2.
On one of my pages I have multiple service stores - however, the current implementation uses a common _index for a client side cache. As a result, I have some of my values being overwritten as I am using auto-increment database ids.

Performing an action when a data store finishes loading

I'm trying to catch an event when my datastore finishes loading the data originally, but I can't seem to get it.
I need to modify some data (client side) before a grid uses the data.
I've tried connecting to the onLoad, onNew and constructor events with no success.

Here's my last attempt:

pdojo.addOnLoad(function(){
pdojo.connect( questionStore, "onNew", "test123");
});

function test123( )
{

newbie dojo.data.ItemFileReadStore shows "error getting items" when assigned json data is from javascript

Hello,

I am trying to create dojo thumbnail using following syntax.

var mess = new Array();
                //getKfJasonData returns the pics in json format from javascript
                mess[0] = getKfJsonData();                 
                thmbData.data = mess[0];
                //I get correct output here in the alert
                alert ('data: ' + thmbData.data );

dojo.data.ItemFileReadStore returns "error getting item" when assigned data is from javascript.

Hello,

I am trying to create dojo thumbnail using following syntax.

var mess = new Array();
                //getKfJasonData returns the pics in json format from javascript
                mess[0] = getKfJsonData();                 
                thmbData.data = mess[0];
                //I get correct output here in the alert
                alert ('data: ' + thmbData.data );

Populating a tree with a server call works fine only the first time on IE

I use thid code on my jsp page.

div dojoType="dojo.data.ItemFileReadStore" jsId="continentStore" url="/action.do?....
div dojoType="dijit.Tree" id="tree" store="continentStore"

On IE it works fine only the first time.
When I reload the page to load new data from server, the tree doesn't loads properly, and tree seems to load the same data stored on first time.

On Firefox I don't have any problem and tree works fine every time.

Is there a way to solve my problem?

Trying to understand how JSON data is passed from server to client

I am trying to understand how JSON data is retrieved/consumed from the server. My end goal is to be able to dynamically populate picklists (SELECTs) from a SQL Server backend. I have no problem creating the JSON data in ASP. My problem is translating it to plain string text on the client. The code below contains three cases. Cases 1 and 2 work fine. Case 3 does not work. One thing I have noticed a number of times is that when I have been able to print the JSON records they will print as "object, object" or something like that instead of showing the field values.

JSON structured data being returned as object instead of string

I am having limited success reading JSON data strcutures. The code below appears to work except for the line
"console.log("Found item: " + store.getLabel(item));". I am using the continents.txt example from the Dojo documentation. As you can see from the console output below, it is reading the 6 records, however, it is not translating the objects to literal text, and console.log("Found item: " + store.getLabel(item)); does not return anything. Not sure where I am going wrong.

Here is the console output in Firefox:

Display border with empty cell data (" ")

Hello All,

I am currently running into a small issue that I can't seem to be able to find a solution for. I have a working grid and for some of the fields the data I want is a space " ". ..., "field_name":" ",... I get the space with no data or ?'s however there is no border around these cells.

So any ideas on how or what needs to be changed to accomplish an empty cell with a border (like a new excel spreadsheet w/no data yet)? I have looked at the tundraGrid.css and Grid.css but have not been successful.

Thank you in advance,

Alexander Block

Syndicate content