Welcome Guest Search | Active Topics | Sign In | Register

Muiltiple Button Columns on a Grid Options
paul mission
Posted: Wednesday, August 25, 2010 7:01:52 AM
Rank: Newbie
Groups: Member

Joined: 8/19/2010
Posts: 2
Can you tell me if it is possible to have multiple Button Columns in a single Grid?
If so, how does one differentiate between the selected button operations when pressed ?
Thanks in advance.
eo_support
Posted: Wednesday, August 25, 2010 10:52:45 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

Yes. You can do that. You can set each ButtonColumn's CommandName to have a different value. If the Grid runs in server mode, you would handle the Grid's server side ItemCommand event and uses the CommandName property of the event argument to distinguish the column:

http://doc.essentialobjects.com/library/1/eo.web.grid.itemcommand.aspx

If you handle the event on the client side, then the command name is passed to you as an argument of your event handler:

http://doc.essentialobjects.com/library/1/jsdoc.public.handlers.grid_itemcommand_handler.aspx

Please let us know if you still have any questions.

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.