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
|
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
|