It is virtually impossible to diagnose your issues without seeing the full context of how you are using your code...
sorry for that.. here is the code
//start step
// cell create/update methods get fired in context of grid
imageCellCreator: function () {
return new KONtx.control.PhotoGridCell({
styles: this.getCellDimensions(),
events: {
// this onSelect fires in context of cell
onSelect: function (event){
//KONtx.application.loadView('view-Sub2');
var m = this.getCellDataIndex();
KONtx.application.loadView('view-Sub2', { foo: m });
}
}
});
},
imageCellUpdater: function (cell, dataitem) {
cell.setSources(dataitem);
}
//end of step
o.k.? what i want in gridcell when i press first image it will display full description of that image from xml file. but for that i have to pass id of that image to next screen. right? for image 2 it will pass m = 2 for image3 in gridview it will go next screen with m =3. like we pass variable in page as demo.php?x=2 samething i want to do in this case.
or anyt other way to get this. means my goal is to disply info of perticular image in next screen when i press on image.
Thanks