Author Topic: Grid not working in tabs (5.0.1)  (Read 1893 times)

Bernd

  • Newbie
  • *
  • Posts: 3
    • View Profile
Grid not working in tabs (5.0.1)
« on: April 09, 2018, 11:44:46 am »
Hello Paramquery,

We discovered a Problem with the latest Version of Paramquery in Combination with jqxTabs. Also Jquery-UI Tabs seem to be affected. The issue is that when paramquery grids are stored in multiple tabs only the grid in the first tab is working properly. In other tabs the grids are is broken.

I created two fiddles. One is showing it working properly in a previous version and one is the version 5.0.1

Here it is working: http://jsfiddle.net/0wgs1orb/52/
Here not: http://jsfiddle.net/oxa4g28q/28/

Kind regards,
Bernd

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6308
    • View Profile
Re: Grid not working in tabs (5.0.1)
« Reply #1 on: April 09, 2018, 12:07:08 pm »
Same constructor object obj can't be passed to more than one instance of grid, it should be deep cloned if it's intended to be same.

Also it's important to refresh grid whenever it's displayed after enclosed in hidden div ( tab panes in your case)

Similar posts:

https://paramquery.com/forum/index.php?topic=2397.msg9553#msg9553

https://paramquery.com/forum/index.php?topic=696.msg3874#msg3874