The SfMultiColumnDropDownControl is loaded as a UIElement in the edit mode for the GridMultiColumnDropDownList. The popup of the GridMultiColumnDropDownList column is opened by clicking the drop down icon of that column, by default. You can also open the Popup while entering the text in the corresponding cell that gets into the edit mode by enabling the SfMultiColumnDropDownControl.AllowImmediatePopup and SfMultiColumnDropDownControl.IsDropDownOpen properties. For this, you need to derive a new class from the GridCellMultiColumnDropDownRenderer and override its OnEditElementLoaded virtual method. This is demonstrated in the following code example.
Note: The above code is only applicable for the WPF platform. For WinRT, refer to the attached sample.
Refer to the following code example to remove the default GridCellMultiColumnDropDownRenderer and add the above customized GridCellMultiColumnDropDownRendererExt to the renderer’s collection in the SfDataGrid.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|