oria / gridx

Just another powerful Dojo grid
Other
162 stars 78 forks source link

onCellClick and onRowClick don't running on iPad #400

Closed cunick closed 7 years ago

cunick commented 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!!