ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: queensgambit9 on October 17, 2019, 01:06:01 pm

Title: Grid in popup
Post by: queensgambit9 on October 17, 2019, 01:06:01 pm
Hi

Using grid popup on click.
I would like to set the title attribute of the div for the popup dynamicially when the function is called.

Ex:

<div title="dynamicially set" id="popup" style="overflow:hidden;">
    <div id="grid_popup"></div>
</div>

How can I do this?
Title: Re: Grid in popup
Post by: paramvir on October 17, 2019, 03:29:00 pm
Do you want to set title of popup or grid?

For popup dialog see:

https://stackoverflow.com/questions/20741524/jquery-dialog-title-dynamically?lq=1

For grid it's

Code: [Select]
$( selector ).pqGrid("option", "title", "hello world");