Welcome Guest Search | Active Topics | Sign In | Register

How to hide/show rows/columns Options
Laura
Posted: Tuesday, May 4, 2010 3:25:02 PM
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!!
eo_support
Posted: Tuesday, May 4, 2010 3:46:19 PM
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.aspx

Or do it on the client side by calling the column's setVisible method:

http://doc.essentialobjects.com/library/1/jsdoc.public.gridcolumn.setvisible.aspx

You 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.aspx

Note 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.aspx

Hope this helps.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.