Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Elegant Grid Tech Support » RowHeaderColumn set text Collapse All
Subject Author Date
CARLOS HERNANDEZ Oct 18, 2007 - 4:35 PM

greetings.
My question is, like I can set text to a cell of the RowHeaderColumn

Technical Support Oct 19, 2007 - 5:24 AM

There is no default implementation for text in row header cells but you can render it yourself using the ICellContentViewer interface. All you need is to implement two methods of this interface: Measure() and Paint(). Then you should set the CellStyle.CustomContentViewerType property of a particular cell style to the type of class that implements the methods in order to apply your custom viewer. You can learn how to make custom cell viewer from the following samples in Simple Demos set: Search, Product Photos, Multithreading, and Graphs.

CARLOS HERNANDEZ Oct 19, 2007 - 9:21 AM

Thank you.