Author Topic: Grid in popup  (Read 1757 times)

queensgambit9

  • Pro Ultimate
  • Sr. Member
  • *
  • Posts: 341
    • View Profile
Grid in popup
« 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?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Grid in popup
« Reply #1 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");
« Last Edit: October 17, 2019, 03:31:52 pm by paramvir »