Get the cell value?
how can i get the value of cell?
Thanks for respons.
i`m not java developer, but i just wont to try this great product.
i try this but it doesn`t work.Whot is wrong?
var id = gridobj.getCellValue(0, index);
alert("current selection: " + id);
var myData = [
["Titan", "A", "ventures.com"],
["www", "CNAME", "ventures.com"],
["mail", "MX", "ventures.com"],
["ftp", "CNAME", "ventures.com"]
var myGrid= new AW.UI.Grid;
And then somewhere: myGrid.getCellValue(0,0) which should return "Titan".
document.write(gridDNS); should of course read:
Sorry about that.
Well this is what i need. I wont do delete row with php. I use xml example with "load table" where my php script render data from mysql in XML format. i found the key code for delete someware on the forum.This is the script i don`t now wrer is mistake.
var key = e.keyCode;
answer = confirm("Are you sure to delete?");
var index = obj.getSelectionProperty("index");
var id = gridobj.getCellValue(0, index)
answer = confirm("Are you sure to insert?");
The problem is that i don`t now how to retreve the id for selected row on kaydown event.
sory about my english
Thanks Karl for every response.
sory , forget abot part of "insert" kay
I think the best way forward is to check out the examples folder that came with the AW installation.
The add delete row.htm should be very helpful.