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 want to use a GridDataBoundGrid to show read only data to my users. To show data from related tables I'm using the standard ComboBox cell type and setting it's datasource, etc. and this works. However the user can still drop down the combobox, even though they can't actually change the values.
This will cause confusion; I'd rather the user wasn't shown the combobox at all. I've tried using different cell types, but they simply show the value of the foreign key field rather than the lookup value from the related table.
ADAdministrator Syncfusion Team June 3, 2008 06:33 PM UTC
The GridStyleInfo object has a ShowButtons property that you can use to hide buttons. So, depending upon wether you have explicitly added GridBoundColumns or not, you would use code like: gridDataBoundGrid1.GridBoundColumns["ColName"].StyleInfo.ShowButtons = GridShowButtons.Hide;
or gridDataBoundGrid1.Binder.InternalColumns["ColName"].StyleInfo.ShowButtons = GridShowButtons.Hide;