jQuery UI Widgets Forums TreeGrid Row events

This topic contains 2 replies, has 2 voices, and was last updated by  Hristo 9 years ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Row events Posts
  • Row events #77801

    lenaykt
    Participant

    Hi everyone,

    I have a question particularly about selectRow, expandRow events. I have a buttons to move from one row to another. Also I applied some accordion behavior, so you see only one expanded row at once, and I set a single selection mode. My grid is quite big. And I don’t use paging. so If I call expandRow selectRow on button press it’s so slow. But when I use only mouse it’s faster. Can you help me to implement the same behavior on button click to move from one row to another as with mouse click? I saw in the profiler it calls jqxdatatable functions on mouse click. May be I can trigger some event handler. I tried to use click(), dispatchEvent() functions but it didn’t help. I was only able to trigger ‘td’ click event what doesnt select current row and unselect previous row It only does what is written in the code…

    Regards,
    lenaykt.

    Row events #77808

    lenaykt
    Participant

    In this fiddle I have some fast example. http://jsfiddle.net/ryxbE/30/ so If I press on ‘Trigger Next Row’ function td onclick is triggered but row is not selected. But I also want to select row without using ‘selectRow’ the same way I click with mouse.

    Thanks,
    Elena.

    Row events #77877

    Hristo
    Participant

    Hello lenaykt,

    Thanks for using our product. I would like to suggest you to look at: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxtreegrid/jquery-treegrid-api.htm that do same functionality.
    If you have any additional questions, please feel free to post again.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.