jQWidgets Forums

jQuery UI Widgets Forums Grid Row Select event generated for row when selecting tab in row detail

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 13 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • Marc
    Participant

    When row selection is enabled (e.g., selectionmode is singlerow or multiplerows) and row details containing tabs are used (as in the row details example), a row select event occurs for the containing row the first time a tab is selected within the details after the row is first expanded. The row is not highlighted as selected at this time, but will become highlighted (without an additional selection event) after a subsequent interaction with the grid (e.g., unexpanding the row, expanding a different row, or even adjusting a scrollbar).

    No additional row select events are generated if other tabs are subsequently selected or if the row is unexpanded and re-expanded before a different row is expanded.

    This can easily be reproduced by setting the selectionmode in the row detail example and binding the rowselect event with a handler that pops up an alert when the row is selected.


    Peter Stoev
    Keymaster

    Hi Marc,

    I suppose that this behavior is due to the fact that the details are part of the Grid’s row and the Grid triggers the selection for all rows. We’ll investigate it further. Thanks for the feedback.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.