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.
Hello,
I want to establish the tooltip of the cells, but the problem is that I don''t know the text I''m going to asign in the moment in which the QueryCellInfo event is fired.
The cell isn''t a normal cell, it''s a cell in which I have got a personalized control.
What event have i got to manage and how??
Thanks,
Ivan.
ADAdministrator Syncfusion Team January 13, 2004 09:39 AM UTC
QueryCellInfo (or something eqivalent like PrepareViewStyleInfo) is where you will have to set the tiptext.
When will you know what the text should be? At that point, save it somehow so that you can then later retrieve it in QueryCellInfo. Then call grid.RefreshRange to force QueryCellInfo to be called so your new tiptext can be used.
So, then in you QueryCellInfo handler, if the tipText for the requested cell has been saved, then set it in e.Style.CellTipText.
If it is not known, then you cannot show it. If it is known then it would be shown.