Author Topic: Hiding the grid  (Read 2383 times)

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Hiding the grid
« on: July 05, 2014, 07:39:56 pm »
Hi,

I want to hide the grids based on the checkbox value. If the check box value is true then i need to hide the table fully. I used Enable,disable options. Its works fine. But i want to hide entire grid. If I used destroy method the grid was totally destroyed after I unclick the checkbox It is not visible. Please give some suggestions for this.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6263
    • View Profile
Re: Hiding the grid
« Reply #1 on: July 06, 2014, 10:39:35 am »
Grid can be hidden and shown simply with jQuery API hide() and show()

If its layout seems broken then refresh the grid upon show.