I'm trying to find a way to mimic client side "filtering" and thought I'd try filling 3 different grids with data (one with all data, the other two filtered by different criteria).
I'm now trying to see if I can "hide" the one grid, and make another visible using javascript. I may not be doing this right, but here's what I thought I could use:
A=getObj("Grid1"); A.visibility="hidden";
this is from the onclick of a button for now for testing purposes.
Can I do this? If so, what am I doing wrong ?
THANKS!
Can I Hide a grid?
-
- Profound User
- Posts: 83
- Joined: Sun Oct 03, 2010 8:45 am
- First Name: Mike
- Last Name: Geldert
- Company Name: Stonriver
- Country: Angola
- Contact:
- Alex
- Profound Logic Staff Member
- Posts: 233
- Joined: Fri Jan 04, 2008 12:10 pm
- First Name: Alex
- Last Name: Roytman
- Company Name: Profound Logic Software
- Contact:
Re: Can I Hide a grid?
You can use the following code to hide a grid:
getObj("Grid1").grid.hide()
And the following to show it again:
getObj("Grid1").grid.show()
getObj("Grid1").grid.hide()
And the following to show it again:
getObj("Grid1").grid.show()
Who is online
Users browsing this forum: Google [Bot] and 5 guests