Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
16806 | Jul 23,2004 05:20 PM UTC | Mar 14,2005 07:17 PM UTC | WinForms | 3 |
![]() |
Tags: Grouping |
this.groupingGrid1.TableDescriptor.Columns["Column Name"].Appearance.AnyRecordFieldCell.CellType = "Image";
If you do want to display a pushbutton you could instead set the cell type to "PushButton". However, in order to display text in a pushbutton you will also need to override TableControlPrepareViewStyleInfo and assign e.Inner.Style.Description = e.Inner.Style.Text.
If you want a more customized cell type, e.g. similar to a Ellipsisbutton as shown in "Grid\Samples\CellButtons" example, you can create a custom cell type and register it with the grid. I can create a sample for that if this is the kind of solution you are interested in.
Let me know if you need more help.
Thanks,
Stefan
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.