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 trying to change the CellType to "ComboBox" and DisplayMember, ValueMember using GridBoundGrid.Model.QueryCellInfo Event.
The Code in the Event just run once (depending on a bool value)
If RunOnce Then ''Change to ComboBox
The problem is when the Cell activate it return to its previous style (The ComboBox arrow disappear)
I am trying to change a single cell to ComboBox depending on another cell value
Using Essential Suite 3.0.1.0
ADAdministrator Syncfusion Team March 30, 2005 02:05 PM UTC
You cannot run code once in QueryCellInfo and change a cell type. The code must be run every time through QueryCellInfo in order for the change to take effect. (Doing something in QueryCellInfo does not ''store'' the change anywhere. It has to be constantly reset every time QuerycellInfo is called.) Try removing your ''one-time check" code, and just let the code be hit all the time to see if this handles the problem you are seeing.
BEBassam El-ShafieMarch 30, 2005 03:03 PM UTC
Ok I got the point although not my needs, I will try the spaghetti ways :)
Thanks for the reply.
Regards,
Bassam