Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2048
JQuery hide() and show() on igGrid
posted

Hi,

I rendered 2 igGrids that immediately become hide through:
$("#grid1_container").hide()
$("#grid2_container").hide()

After a button click I reshow them:
$("#grid1_container").show()
$("#grid2_container").show()

The problem is that their sizes have changed (width and height).
I tryed with:
$("#grid1").igGrid("option", "height", "50%");
$("#grid1").igGrid("option", "width", "200px");
...

And also with:
<style>
#grid1_container
{
width: 100% !important;
}

But nothing happened...

Ideas?

Thanks!

Flavio M.

Parents Reply Children
No Data