Posted 7 March 2018, 10:12 am EST
I had to ‘touch’ a cell twice on mobile device instead of 1 click on windows laptop to execute the click routine on my flexGrid in ionic angular 3. On any windows pc/laptop, the click event fires great. On iPhone/iPad, because there is not any mouse on it, I have to touch the same cell twice to fire the click event. Is there any fix or work round for this? Thank you very much.
<wj-flex-grid #flex
[autoGenerateColumns]="true"
[showMarquee]="true"
[selectionMode]="1"
[headersVisibility]="1"
[isReadOnly]="true"
(click)="onClick(flex, $event)">
</wj-flex-grid>
onClick(s: wjGrid.FlexGrid, e: MouseEvent): void {
alert('cell is clicked');
}