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 looking at your CustomFieldType_2005 sample code. I want to add a column to a gridgroupingcontrol in the same manner.
I've tried adding the code below, but I'm unsure of how to create a list of items to select from. I know it's possible to do this with a dataset and datatables but I'd prefer not to go through that trouble if it's easier like the other controls in this example.
HAhaneefm Syncfusion Team May 24, 2007 03:09 PM UTC
Hi Dan,
You can set the style.DataSource to be the table for the entire combobox column, style.DisplayMember to be the name of the column in the table that you want to see displayed in the grid, and set style.ValueMember to be the name of the column in the table that has values that match the values originally displayed in the grid column. You also need to make it as a combobox cell. Please try the code snippet below and let me know if this helps.
You can set the style.DataSource to be the table for the entire combobox column, style.DisplayMember to be the name of the column in the table that you want to see displayed in the grid, and set style.ValueMember to be the name of the column in the table that has values that match the values originally displayed in the grid column. You also need to make it as a combobox cell. Please try the code snippet below and let me know if this helps.