Author Topic: Relocating the grid  (Read 2621 times)

elearnster

  • Pro Economy
  • Newbie
  • *
  • Posts: 20
    • View Profile
Relocating the grid
« on: September 25, 2014, 09:32:10 pm »
When we initialize the Grid, we locate it inside a bootstrap nav-tab.  Everything works great.  If we want to relocate the grid when the grid is being edited, is there a way to have the grid appear inside of a new dialogue box?
eLearnster

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6298
    • View Profile
Re: Relocating the grid
« Reply #1 on: September 26, 2014, 02:13:25 pm »
It can be moved to a new container/location with jQuery append followed by refresh of the grid.

$("#container_new").append( $grid );
$grid.pqGrid( 'refresh' );
« Last Edit: September 26, 2014, 06:08:02 pm by paramquery »

elearnster

  • Pro Economy
  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Relocating the grid
« Reply #2 on: September 26, 2014, 11:37:19 pm »
Thank you!!!