Skip to content

Commit b0ce7fb

Browse files
committed
DropDownDataGrid PopupStyle added
1 parent f1f85a6 commit b0ce7fb

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Radzen.Blazor/RadzenDropDownDataGrid.razor

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
</div>
113113

114114
<div id="@PopupID" class="@(Multiple ? "rz-multiselect-panel" : "rz-dropdown-panel")"
115-
style="display:none;min-width:400px;padding:0px;">
115+
style="@PopupStyle">
116116
<div class="rz-lookup-panel" @onkeydown="@CloseOnEscape">
117117
@if (AllowFiltering || HeaderTemplate != null)
118118
{

Radzen.Blazor/RadzenDropDownDataGrid.razor.cs

+7
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,13 @@ public partial class RadzenDropDownDataGrid<TValue> : DropDownBase<TValue>
5656
[Parameter]
5757
public bool Chips { get; set; }
5858

59+
/// <summary>
60+
/// Gets or sets the Popup style.
61+
/// </summary>
62+
/// <value>The number Popup style.</value>
63+
[Parameter]
64+
public string PopupStyle { get; set; } = "display:none;min-width:400px;padding:0px;";
65+
5966
/// <summary>
6067
/// Executes CellRender callback.
6168
/// </summary>

0 commit comments

Comments
 (0)