ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: soulminato on December 10, 2015, 12:00:39 pm

Title: Height of the table
Post by: soulminato 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/
Title: Re: Height of the table
Post by: paramvir 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/