Welcome Guest Search | Active Topics | Sign In | Register

Cell Selection from a Grid Options
Rory
Posted: Sunday, March 9, 2008 8:48:53 AM
Rank: Member
Groups: Member

Joined: 1/29/2008
Posts: 17
Hi

Is there a way to set the ButtonText on a button column to be the datafield text. The text in a button field indicates a chnaged icon (hand) when the user floats over the cell. I need to do this, but I want to display the datafield content, which will be different for each cell in the column.

Many Thanks

Rory

eo_support
Posted: Sunday, March 9, 2008 9:09:23 AM
Rank: Administration
Groups: Administration

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

ButtonColumn should probably allow you to leave ButtonText empty and to populate the button text from the data source in that case. In the mean time you can use a StaticColumn with DataFormat set to something like "<a href='javascript:Grid1.some_js_function()'>{0}</a>", or use a CustomColumn.

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.