Blog Archive for September 27, 2011

Basic Dojo Grid

September 27, 2011

Here's an example of a web page that shows the Dojo grid component.

Head Section

The head section needs to load Dojo with the parseOnLoad set to true. It also needs to load the appropriate css.

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.6.0/dojo/dojo.xd.js" 
        djConfig="parseOnLoad:true"></script>

<link rel="stylesheet" type="text/css" …

HTML5 File API

September 27, 2011

Using the HTML5 File API it is possible to get hold of information about files that have been selected in an input type=file before the files are uploaded to the server. You can even look inside the files to see what their content is.

HTML

This example is based on …