jQuery UI Widgets › Forums › General Discussions › Angular › jqxGrid shrinks to default size after panel collapse and open in angular 2
This topic contains 3 replies, has 2 voices, and was last updated by Ivo Zhulev 8 years ago.
-
Author
-
December 19, 2017 at 11:21 am jqxGrid shrinks to default size after panel collapse and open in angular 2 #97962
Hello,
We are trying to use jqxgrid (angular ) in a bootstrap panel/tab scenario. There are 2 such grids one after the other in the same page, each grid under a collapsible section. The first section also has 2 tabs (bootstrap), which contains 2 grids. The width of the grid has been changed to 99% in the jqxgrid to fit the screen (because the default is 600*480 px).
The issue is that when the sections are alternatively opened and closed, and when tabs clicked, the jqxgrid comes back to its default state and does not expand to 99% as its supposed to. Below is the grid used with width expanded to 99%
<jqxGrid #gridReference id=’gridss’ width=’99%’ [groupsexpandedbydefault] =’true’ [columnsresize]=’true’ autoshowloadelement = ‘false’ enablebrowserselection=’true’
sortable=’true’ resizable = ‘true’ [columnsheight] =’55’ [filterable]=’true’ [enabletooltips]=’true’ [editable]=’false’ [source]=’dataAdapter’ [columns]=’column’ groupable=’true’
[groups]=’groupcolumn’>
</jqxGrid>December 21, 2017 at 9:28 am jqxGrid shrinks to default size after panel collapse and open in angular 2 #98021Hi, vipink,
Have you tried calling the
refresh/rendermethods of thejqxGridwhen you change the sections?Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/January 12, 2018 at 6:39 am jqxGrid shrinks to default size after panel collapse and open in angular 2 #98232Hi Ivo,
This has been tried earlier without any success. This is a very specific issue happening with the use of bootstrap tab-content and also when the panels are toggled back and forth
Thank You !
Vipin KJanuary 15, 2018 at 9:36 am jqxGrid shrinks to default size after panel collapse and open in angular 2 #98270Hi vipink,
Can you please share me a simple example so I can test that?
Best Regards,
IvojQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.