iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi
is it possible duing the HandleRowSelect on the Grid, on client side to determine if this is a double click? i know there is a function to for a double click, but i need to determine in that function if it happened.
Eric
Hello,
I am sorry but I think our current client side event should be able to determine which is single or double click.Based on what I know, there might be some differences when loaded in browser, even for the normal single or double click handler.Therefore, would you mind to let me know your current scenario?Perhaps, we can figure out another way to implement your scenario.
Thank you.Regards,Hans.
All we want is this. In the HandleRowSelect function, we want a call or way to determine if this was a double or single click.
Hello
I’m sorry, but unfortunately I can’t find way to determine if this was a double or single click, in one event function.However, I have solution for your problem that maybe you could use.I made a sample project by using WebGrid (Nortwind.mdb database & Shippers table).I use WebGrid’s OnCellClick and OnCellDblClick client side event.In OnCellClick event, I use setTimeout function to determine if this was a double or single click.Here’s the snippet code:
<script language="javascript" type="text/javascript"> var double = false; function WebGrid1_OnCellClick(controlId, tblName, rowIndex, cellIndex, cellEl) { var WebGrid1 = ISGetObject(controlId); window.setTimeout(function () { if (double == false) { alert("Single Click"); } else { double = false; } }, 500) return true; } function WebGrid1_OnCellDblClick(controlId, tblName, rowIndex, cellIndex, cellEl) { var WebGrid1 = ISGetObject(controlId); alert("Double Click"); double = true; return true; } </script>
I attached my sample project, in order to make you easily understand about my sample.
And please let me know if this solution can resolve your problem or not. Perhaps, I can find another way to resolve your problem.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname