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 grid for which I''ve created several drop-down controls to use, based around your DropDownControlCellModel example.
The problem I have is that I want to use components on the drop-down that themselves have a drop-down component (notably your own DateTimePickerAdv control). When this drop-down is activated, the grid drop-down closes.
I can of course stop this from happening by using a DropDownFormCellModel and having the drop-down modal. However, I''d ideally like to have the drop-down close when the user clicks away from it rather than having to explicitly close the form with a button.
Any ideas?
ADAdministrator Syncfusion Team February 9, 2005 03:56 PM UTC
Mike,
if you intend to use a dropdown in the Grid''s cells, then you should use a special GridDropDownContainer instead of the regular PopupControlContainer. The attached C# sample project shows you how this is done. Please look for "SF Comments" in source code.
Sample C# project: http://www.syncfusion.com/kb/tools/Files/GridInDropDown.zip
Stefan
>I have a grid for which I''ve created several drop-down controls to use, based around your DropDownControlCellModel example.
>
>The problem I have is that I want to use components on the drop-down that themselves have a drop-down component (notably your own DateTimePickerAdv control). When this drop-down is activated, the grid drop-down closes.
>
>I can of course stop this from happening by using a DropDownFormCellModel and having the drop-down modal. However, I''d ideally like to have the drop-down close when the user clicks away from it rather than having to explicitly close the form with a button.
>
>Any ideas?