I have the following requirement where the user can select an item in the combo box within the grid.
But i cannot find any relavent documentation for adding a combobox to RadzenGrid. Please advice
I have the following requirement where the user can select an item in the combo box within the grid.
But i cannot find any relavent documentation for adding a combobox to RadzenGrid. Please advice
Similar example can be found here:
https://blazor.radzen.com/datagrid-inline-edit
The DropDown is defined in column EditTemplate and the same approach can be used for Template.
Thanks.But i'm having issues displaying the grid within a dialog form.The table wont get displayed
<RadzenTemplateForm Data="@portfolioWrapper" TItem="PortfolioWrapper">
<ChildContent>
<div class="row">
<RadzenDataGrid AllowFiltering="true" AllowPaging="true" PageSize="5" AllowSorting="true" EditMode="DataGridEditMode.Single"
Data="@assetTypes" TItem="string" >
</RadzenDataGrid>
</div>
</ChildContent>
</RadzenTemplateForm>
The object assetTypes is a list of string
protected List<string> assetTypes = new List<string>();
You might need to check carefully our demos. Example of DataGrid inside dialog can be found here:
https://blazor.radzen.com/dialog