Author Topic: Height of the table  (Read 2226 times)

soulminato

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 7
    • View Profile
Height of the table
« on: December 10, 2015, 12:00:39 pm »
HI, I have a problem, The table when is into of a bootstrap TAB the height of the table don't take the value that is in the properties of object and I can see only the header and footer, I hope that you can help me, thanks.
http://jsfiddle.net/6gxjb0hv/12/

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Height of the table
« Reply #1 on: December 10, 2015, 02:46:19 pm »
The grid can't display properly when its parent ( e.g., unactivated tab panel ) is hidden or not displayed.

It applies when grid is rendered in either bootstrap or jQueryUI tabs.

Fix is to refresh the grid whenever corresponding tab is activated.

Code: [Select]
$('ul.nav-tabs').on('shown.bs.tab', function (e) {
  $gridPagos.pqGrid('refresh');
}) 

http://jsfiddle.net/6gxjb0hv/13/