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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Popover dynamic selector #96343

    Pietervk
    Participant

    Hi,
    I would like to place the popover on a specific row (height from the top). The row needs to be selected dynamically.

    So I initiated the popover with the selector pointing to the container of the rows

      
    $("#errQ").jqxPopover({
                     arrowOffsetValue: 10,
                     position: "top",
                     width: 200,
                    height: 75,
                    title: "oops",
                    showCloseButton: true,
                    autoClose:true,
                    selector: $("#innerbody")
                    
                });
    

    When it it time to open the popup, I have tried two different ways, but in both ways, the popup appears bottom left of the screen, outside of the div #innerbody.

    One way is to change the offset:
    $`(popclass).jqxPopover({ offset: { left: left, top: top } });
    $(popclass).jqxPopover(‘open’);`

    The other way I tried was to change the selector

    $(popclass).jqxPopover({ selector:  idMissing[0].id });
    $(popclass).jqxPopover('open');

    Is this possible at all? Can you give me hint what I am doing wrong?

    Thanks

    Pieter

    Popover dynamic selector #96380

    Hristo
    Participant

    Hello Pieter,

    I would like to suggest you look at these two topics from our forum:
    https://www.jqwidgets.com/community/topic/popover-in-jqgrid/
    https://www.jqwidgets.com/community/topic/popovers-and-tooltips-in-responsive-grid/#post-82077
    If you still have some troubles with this, please, provide me more details, and on which widget you try to use jqxPopover (jqxGrid, jqxTreeGrid, jqxDataTable and etc)

    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.