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''m setting the colStyle as such:
colStyle.DropDownStyle = GridDropDownStyle.Exclusive;
colStyle.CellType = "ComboBox";
colStyle.DataSource = dataSource;
colStyle.DisplayMember = displayMember;
colStyle.ValueMember = valueMember;
colStyle.CellValueType = typeof(int);
--I''ve tried leaving this line off
the datasource is an array of "NameValuePair" Objects
struct NameValuePair
{
public Name {get;set;}
public Value {get;set;}
...
}
The displayMember = "Name";
the valueMember = "Value";
my grid shows, and each column has drop downs, but...
the the display shown is the value (DislayValue), not the Name (DisplayMember)
and the combo doesn''t list anything (i.e., clicking the down-arrow of the combo doesn''t do anything).
What am I doing wrong?
Surely, I don''t have to set the ChoiceList right? That''s filled in automatically, right?