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.
Using a MultiColumnComboBox, I'd like to make some of the rows in the GridListControl unselectable. Meaning, based on some criteria (either a column value or a computed value), the user would not be able to click on those rows in the GridListControl and close the combobox. Those rows should be visually identifiable as being unselectable (similar to Enabled = false) and clicking on them should do nothing. Only selecting a "valid" row (or pressing the Esc key) should close the combobox.
Is this possible? If so, how might I go about implementing this?
ADAdministrator Syncfusion Team February 21, 2007 06:42 PM UTC
Here is a try at this using the wrapped GridControl.QueryCellInfo that is part of GridListControl. In that event, you can color particular cells. The second piece of teh sample is to listen to an event and prevent the combobox from losing when you click on one of the particular rows that you want disabled. Here is teh multicolumncombobox sample modified to show this process. http://www.syncfusion.com/Support/user/uploads/CS_2f2a5206.zip
ADAdministrator Syncfusion Team February 22, 2007 07:57 PM UTC
Clay,
Thanks for the sample. I've messed with it a bit and it looks like I get get what I need using a similar approach.