When I change to Dialog from Normal editing in the Data Grid I am not able to edit Rule Name and Description fields in Dialog mode when adding new record. I can change the 3 drop downs, just can't modify Rule Name or Description fields. Only in Dialog mode. I can edit all fields when in Normal edit mode.
<SfGrid @ref="AggRules" DataSource="@SelectedDomainRule.BusinessRuleDefinition.AggregateRuleSources" TValue="AggregateRuleSource" ID="AggregateRules"
Toolbar="@(new List<string>() { "Add", "Edit", "Delete", "Update", "Cancel" })"
AllowPaging="true" AllowSorting="true" AllowSelection="true">
<GridEvents RowSelected="RowSelectHandler" TValue="AggregateRuleSource"></GridEvents>
<GridPageSettings PageSize="10"></GridPageSettings>
<GridEditSettings AllowAdding="true" AllowDeleting="true" AllowEditing="true" Mode="EditMode.Normal"></GridEditSettings>
<GridColumns>
<GridColumn Field="AggregateRuleSource_Id" IsPrimaryKey="true" IsIdentity="true" Width="20"></GridColumn>
<GridColumn Field="RuleName" HeaderText="Rule Name" Width="20"></GridColumn>
<GridColumn Field="RuleDescription" HeaderText="Description" Width="15"></GridColumn>
<GridColumn Field="PointOfExecution.Name" HeaderText="PointOfExecution" EditType="EditType.DropDownEdit" Width="30">
<EditTemplate>
@*ID value should be based on Field name*@
<SfDropDownList ID="PointOfExecution___Name"
TItem="PointOfExecution"
TValue="string"
@bind-Value="@((context as AggregateRuleSource).PointOfExecution.Name)"
DataSource="@PointOfExecution.Values">
<DropDownListFieldSettings Text="Name" Value="Name"></DropDownListFieldSettings>
</SfDropDownList>
</EditTemplate>
</GridColumn>
<GridColumn Field="RuleStatus.Name" HeaderText="Rule Status" EditType="EditType.DropDownEdit" Width="30">
<EditTemplate>
@*ID value should be based on Field name*@
<SfDropDownList ID="RuleStatus___Name"
TItem="RuleStatus"
TValue="string"
@bind-Value="@((context as AggregateRuleSource).RuleStatus.Name)"
DataSource="@RuleStatus.Values">
<DropDownListFieldSettings Text="Name" Value="Name"></DropDownListFieldSettings>
</SfDropDownList>
</EditTemplate>
</GridColumn>
<GridColumn Field="RuleType.Name" HeaderText="Rule Type" EditType="EditType.DropDownEdit" Width="30">
<EditTemplate>
@*ID value should be based on Field name*@
<SfDropDownList ID="RuleType___Name"
TItem="RuleType"
TValue="string"
@bind-Value="@((context as AggregateRuleSource).RuleType.Name)"
DataSource="@RuleType.Values">
<DropDownListFieldSettings Text="Name" Value="Name"></DropDownListFieldSettings>
</SfDropDownList>
</EditTemplate>
</GridColumn>
</GridColumns>
</SfGrid>
Why is that ?