I have a column with default width, and the text in the column is long, for example "123456789-abcdefgh".
I set the HorizontalAlignment to Right. The cell display front part "123456", other chars are hidden. How can I display the rear part "cdefgh" instead of front part?
ADAdministrator Syncfusion Team March 25, 2004 07:25 AM
There are no property settings that would allow you to do this.
I think you would have to derive a cell control (maybe from GridTextBoxCellRenderer and GridtextBoxCellModel) and handle things there by overriding OnDraw in the renderer. You would want to call the baseclass if the cell is an active currentcell. (Check the source for GridTextBoxCellRenderer.OnDraw to see how to do this.) When it is not antive current cell, there you would need to draw the text clipped on the left instead of on the right.