ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: ONEITSS on May 12, 2017, 11:46:49 pm

Title: Popup on row click
Post by: ONEITSS 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.
Title: Re: Popup on row click
Post by: paramvir 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/
Title: Re: Popup on row click
Post by: ONEITSS on May 22, 2017, 01:10:26 am
Thank you, are there any examples to show popup div on row click/double click
Title: Re: Popup on row click
Post by: paramvir on May 22, 2017, 09:27:59 pm
Here is an example of popup based on selected row:

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