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 have a cell that can either have True or False in it. I want the user to be able to either hit a "T" or "F" and have True or False show up in the cell. I would rather not use a drop-down if possible. Is there any samples that show something similar to this or do you have any suggestions on doing it. Thanks.
ADAdministrator Syncfusion Team November 15, 2006 04:10 AM UTC
Hi Thomas,
You can use the ComboBox celltype and set the ShowButton property to GridShowButtons.Hide to remove the dropdown button in a cell. Here is a code snippet.
//code snippet for GridControl. StringCollection sc = new StringCollection(); sc.Add("True"); sc.Add("False"); this.gridControl1[2,2].CellType = "ComboBox"; this.gridControl1[2,2].ChoiceList = sc; this.gridControl1[2,2].ShowButtons = GridShowButtons.Hide;