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 am using a GridDataBoundGrid with a LabelCellModel and a LabelCellRenderer derived from GridStaticCellModel and GridStaticCellRenderer. In the OnDraw of my renderer I add in a label for the text. It works when the cell is not selected. However when I click on the cell, the label disappears and only the CellValue shows up! How do I prevent this from happening?
Thanks!
Laurie
ADAdministrator Syncfusion Team August 23, 2003 08:05 AM UTC
If you put debug output in your OnDraw, is it hit when you click the cell?
Can you post your OnDraw code?
If you are relying on the base class to draw the Text when it is the active cell, then the base class will display the text from the cell style.
LSLaurie SpencerAugust 23, 2003 11:54 PM UTC
> If you are relying on the base class to draw the Text when it is the active cell, then the base class will display the text from the cell style.
That's it! Obvious in retrospect...
Thanks!
Laurie