Closed cunick closed 7 years ago
I have this snippet code, but it doesn't work on iPad. Please, somebody could tell me if onCellClick and onRowClick are events that running on iPad? version of dojo is v1.11.2 version of gridx is v1.3.9
var myGrid = new GridX({ structure: myGridLayout, "class":"smallText", cacheClass: Async, store:returnEmptyStore(), region:"center", modules: [ VirtualVScroller, TouchScroll, IndirectSelectX, RowHeaderX, ExtendedSelectRowX, FilterX ], style: { "width": "100%", "height": "100%", "padding": "0px" } });
myGrid.connect(myGrid, "onCellClick", function(evt){ if(evt.columnIndex === 1){ var data = myGrid.row(evt.rowId).rawData(); var idDocument = data["idDocument"]; var idFolder = data["idFolder"]; openFile(idDocument,idFolder); } });
I also tried, without results: myGrid.connect(myGrid, "onRowClick", function(evt){ alert('gridx 1.3.9') });
Thanks!!
I have this snippet code, but it doesn't work on iPad. Please, somebody could tell me if onCellClick and onRowClick are events that running on iPad? version of dojo is v1.11.2 version of gridx is v1.3.9
var myGrid = new GridX({ structure: myGridLayout, "class":"smallText", cacheClass: Async, store:returnEmptyStore(), region:"center", modules: [ VirtualVScroller, TouchScroll, IndirectSelectX, RowHeaderX, ExtendedSelectRowX, FilterX ], style: { "width": "100%", "height": "100%", "padding": "0px" } });
myGrid.connect(myGrid, "onCellClick", function(evt){ if(evt.columnIndex === 1){ var data = myGrid.row(evt.rowId).rawData();
var idDocument = data["idDocument"]; var idFolder = data["idFolder"]; openFile(idDocument,idFolder); } });
I also tried, without results: myGrid.connect(myGrid, "onRowClick", function(evt){ alert('gridx 1.3.9')
});
Thanks!!