Login Register

edit

Dojo Editor Example with HTML Source Editing

I created a demo where the raw HTML of the Dijit Editor can be modified in real time. The demo can be found (here). A floating pane is displayed with the HTML source of the editor.

The article on how this is done can be found (here). It provides information on parts of the code.

_________________________________
rubicorp.com

Navigating through cells with keyboard

Hello everyone,

I've created a grid with cells that can be edited.
I now want to add the ability to move from one cell to another using the keys UP, DOWN, LEFT and RIGHT

So I did this to catch the keyboard events :

dojo.connect(this.grid, 'onKeyDown', this, this._keyDown);

And for the _keyDown function :


_keyDown: function (e) {

switch (e.keyCode) {
case dojo.keys.UP_ARROW:
var selectedRow = parseInt(this.grid.selection.getSelected()[0]);

var nextRow = selectedRow - 1;
if (selectedRow > 0 && this.grid.edit.info.cell != null) {

Editable grid with multiple data sources?

I need some advice on strategy. I've got 2 problems displaying
a grid based on a complicated data structure. The data comes
from two data sources, and the editing options need to be different
for different cells.

Edit cell not displaying completely

I am working on the UI for a dojox grid created by one of the other developers on my project. When in edit mode, the iframe does not display completely. I believe I have narrowed down the problem to an incorrect overflow setting on the containing iframe. My problem is I cannot figure out where the code is that is genereating the iframe. If anyone can point my in the direction of the code responsible for generating the html output for the editable grid display cell it would be much appreciated.

Thanks!

Syndicate content