The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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 12:25 PM UTC
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.