Author Topic: Popup on row click  (Read 3031 times)

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Popup on row click
« on: May 12, 2017, 11:46:49 pm »
Hi,
I want to get popup when user click on any row, popup need to position based on selected Row.

i have data to show in popup based on selected Row data.

can anybody point me if any method for above one.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Popup on row click
« Reply #1 on: May 15, 2017, 09:54:48 am »
Row $tr can be obtained by getRow() method: https://paramquery.com/pro/api#method-getRow

and jQuery offset can be used to get position of $tr relative to document.

http://api.jquery.com/offset/
« Last Edit: May 15, 2017, 06:46:59 pm by paramquery »

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: Popup on row click
« Reply #2 on: May 22, 2017, 01:10:26 am »
Thank you, are there any examples to show popup div on row click/double click

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Popup on row click
« Reply #3 on: May 22, 2017, 09:27:59 pm »
Here is an example of popup based on selected row:

https://paramquery.com/pro/demos/crud