jQWidgets Forums

jQuery UI Widgets Forums Grid click or doubleclick

Tagged: 

This topic contains 6 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 7 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • click or doubleclick #10557

    johnbudala
    Member

    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

    click or doubleclick #10563

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    click or doubleclick #10649

    johnbudala
    Member

    Thanks 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.

    http://www.itconrads.com/Flash/messages.html

    click or doubleclick #10650

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    click or doubleclick #10724

    johnbudala
    Member

    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.

    click or doubleclick #10725

    johnbudala
    Member

    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”

    click or doubleclick #10729

    Peter Stoev
    Keymaster

    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 Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.