jQWidgets Forums

jQuery UI Widgets Forums Grid Row Selection from Widget

This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Row Selection from Widget #95759

    jeffo
    Participant

    I have a requirement to insert a hyperlink into the grid. The hyperlink presents a bootstrap popover on hover, and navigates on click. Clicking anywhere else, should follow the standard row selection processes of the grid.

    Is there a way to hook into the selection of the row, and allow clicking anywhere else in my cell to follow the process, or do I have to manage the click event myself and call rowselect/rowunselect?

    At the moment, because I want the formatting of my cell to be the same as the rest of the grid, I am needing to remove the ‘jqx-grid-widget’ class and add ‘jqx-grid-cell-left-align’, as well as my div to support the hyperlink and popover. But clicking in this cell is not always consistent with the rest of the grid.

    Row Selection from Widget #95806

    Hristo
    Participant

    Hello jeffo,

    I would like to say that we cannot engage with quality when you use additional and external libraries and our widget to work fine with this. (to delete and add classes)
    You could add a class with cellclassname - the column's cells and classname - the column's header, they are members of the columns property.
    Could you clarify this “Is there a way to hook into the selection of the row…”?
    There are two events that you could bind to in the Grid – cellselect and rowselect also, their opposite events “…unselect”.
    Also, I would like to suggest you look at this demo, it could be useful:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/cellsselection.htm?light

    Best Regards,
    Hristo Hristov

    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.