I want know if AW.Templates.ImageText's image clicked row Index ,col Index
var calendar = new AW.Templates.ImageText;
var calImage = calendar.getContent("box/image");
calImage.setTag("a");
grid.setCellEditable(true);
grid.setCellImage("calendarGrid", 1);
calImage.setAttribute("href", function(){
return "javascript:pickDateForGrid(grid, grid.getCurrentColumn(), grid.getCurrentRow())";
});
grid.setCellTemplate(calendar,1);
if I edit some row , then click this Image,
grid.getCurrentColumn(),grid.getCurrentRow() is editing number
but I want to know clicked Image Row Index and col Index
var calImage = calendar.getContent("box/image");
calImage.setTag("a");
grid.setCellEditable(true);
grid.setCellImage("calendarGrid", 1);
calImage.setAttribute("href", function(){
return "javascript:pickDateForGrid(grid, grid.getCurrentColumn(), grid.getCurrentRow())";
});
grid.setCellTemplate(calendar,1);
if I edit some row , then click this Image,
grid.getCurrentColumn(),grid.getCurrentRow() is editing number
but I want to know clicked Image Row Index and col Index
August 14,
This topic is archived.
See also:
This example shows how to Drag and Drop Rows in a v2.0 Grid to change the row order
Rob Francis
(59)
filtering on range using two cols
Warren
(43)
How to get single value on click of any cell in the same row
Ameenullah
(10)
How do you add an image to the first column in a grid?
L. Aragon
(17)
After combo changed, lock another cell
Daniel (daniel@marsilink.com.br)
(8)
Sorting on second header row.
Sudhaker Raj
(15)
multi-row-marker autoscrolls to top....
Felix
(13)
Checkboxes in only some rows
Jesse
(12)
Back to support forum