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.
Ver3.3.0 GGC I have a form with GGC. I use following code to setup pickup list columns: this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.CellType ="ComboBox"; this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.DataSource=dvLookUp;//tbLookup; this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.DisplayMember=lookup_desc; this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.ValueMember=lookup_field; this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.ShowButtons=GridShowButtons.ShowCurrentCell; this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.HorizontalAlignment=GridHorizontalAlignment.Left; //special cbobox allow free edit text besides pickup from list if (ColumnName.ToLower()=="loc_from" || ColumnName.ToLower()=="loc_to") { // code to free-pick this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.DropDownStyle=GridDropDownStyle.Editable; } else { this.gdBase.TableDescriptor.Columns[ColumnName].Appearance.AnyRecordFieldCell.DropDownStyle=GridDropDownStyle.Exclusive; }
The Grid displays the pickup list, show the description of the underline code value. But when I click the column''s header to sort the column, it sorts the column by the code value, not the description. I want to sort column by description (sorted by what user is seeing). Any idea? Thanks.