Rank: Member Groups: Member
Joined: 5/3/2010 Posts: 11
|
Hi there,
I was wondering if there is a capability to hide and show rows or columns in the Grid, just like how a drilldown would work in reporting services? So i guess i'm also asking if you guys would have a drilldown functionality for the Grid. Thanks!!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, The Grid does not have built-in support for drill down. However you can show/hide columns easily. You can either do it on the server side by setting the column's Visible property: http://doc.essentialobjects.com/library/1/eo.web.gridcolumn.visible.aspxOr do it on the client side by calling the column's setVisible method: http://doc.essentialobjects.com/library/1/jsdoc.public.gridcolumn.setvisible.aspxYou will not be able to show/hide items the same way as you do with columns. If you do from client side, you can only "delete" them: http://doc.essentialobjects.com/library/1/jsdoc.public.grid.deleteitem.aspxNote that once you delete an item, you can not "undelete" it and show it again unless you go back to the server side to rebind the Grid. If you update your grid items from server side anyway, then this is not an issue. You may also want to go over this topic if you are not familiar with our client side API yet: http://doc.essentialobjects.com/library/1/clientapi_howto.aspxHope this helps. Thanks!
|