jQWidgets Forums
jQuery UI Widgets › Forums › Grid › click or doubleclick
Tagged: audio
This topic contains 6 replies, has 2 voices, and was last updated by Peter Stoev 12 years, 7 months ago.
-
Authorclick or doubleclick Posts
-
Hi, I am working on the following and like to play the audio file when I click on the row.
http://www.itconrads.com/Flash/messages.html
Please help
thx a lot
Hi ohnbudala,
jqxGrid has an event called ‘rowclick’. The event is triggered when the user clicks on a row. There’s also ‘rowdoubleclick’ event, so it depends on you which one of these to use in your app.
Best Wishes,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks a lot. for Some reason, rowclick’ or the ‘rowdoubleclick’ is not working with this type of grid.
Is there way to click row and Audio file is load to play? please see the URL below for my test case.
Hi johnbudala,
As far as I see, there’s a log below the Grid which is updated after selecting a new row. In addition, I don’t see binding to the ‘rowclick’ or ‘rowdoubleclick’ event in your code.
Best Wishes,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks again Peter, I removed the ‘rowclick’ or ‘rowdoubleclick’ event code because it was not working. I put back the code again. However, I am able to see in the log below selected row and the AudioFile information however I am unable to see the row select when I doubleclick. It looks like the doubleclick event is not triggering.
Thanks again Peter, I removed the ‘rowclick’ or ‘rowdoubleclick’ event code because it was not working. I put back the code again. However, I am able to see in the log below selected row and the AudioFile information however I am unable to see the row select when I doubleclick. It looks like the doubleclick event is not triggering.
Please see the URL below for my test case.
http://www.itconrads.com/Flash/messages.html
Since I am now able to see the see in the log below selected row and the AudioFile information just in the selectrow event, my question is how can pass this info dynamically to the audio tag below?
audio src={dynamically provide selectrow information } preload=”auto”
Hi johnbudala,
The ‘rowdoubleclick’ event is triggered correctly even on your page. However, you use a field which is not supported in that event.
Example:
var args = event.args;var AudioFile = event.args.row;
event.args.row is undefined. The args or the rowdoublelick event contain only the rowindex field.
Best Wishes,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.