Anyone know of any good examples of how to get the value contained by a cell in a grid? Or a simpler problem that pertains to my situation: just how to get the value of the first cell when a row is selected?
Thanks!
Anyone know of any good examples of how to get the value contained by a cell in a grid? Or a simpler problem that pertains to my situation: just how to get the value of the first cell when a row is selected?
Thanks!
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) {
I have problems showing null values when one of the field from database is null...
When data is fetched to the grid, everything is fine (content of cell is without any contents), but when I double click on null value field to change the contents of it, then I got null value string in the cell.
Does any body has or had the same problem?
Thanx
I need to be able to disable the checkbox in a column on a row by row basis. How do you get access to the input tag within the cell to change it properties?
The status of the row determines if the checkbox is disabled. I've tried the following, with the current form returning the first input tag on the page in the inputCb variable which is not even a dojo object. The column is defined as a 'editor: dojox.grid.editors.Bool'. initGrid() is called from an AJAX load function after the grid has been updated with data.
Thanks
function initGrid()
{
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