Hi,
I have created a Grid with Inline fields;
As you can see from the attached figure, in Editing if I change the choice of the "Description" column, in the Master column the associated value in the "Mastro" cell and also the "Sottoconto" are entered (therefore both are changed according to the description chosen with the combo)
It happens that after choosing the description value in the combo, and correctly selecting the master and sub-account value, the focus remains locked on the description cell and with the Tab the cursor is not moved to the following cells; But only by hitting enter is the line accepted. How can I move the focus to the next cells with the Tabe and what is the cause?
Thank you
(Place the code)
<GridColumn HeaderText="descrizione" TextAlign="TextAlign.Left" Width="200">
<Template>
@{
var cit = (context as CausaleItem);
Conto ForeignKeyData = GridConti.Where(x => x.id == cit.conto_id).FirstOrDefault();
<span>@ForeignKeyData.descrizionespan>
}
Template>
<EditTemplate>
<SfComboBox ID="ContoId"
TItem="Conto"
TValue="long"
@bind-Value="@((context as CausaleItem).conto_id)"
DataSource="@GridConti"
Enabled="IsEnabled">
<ComboBoxEvents TValue="long" TItem="Conto" />
@*
@{
Conto ForeignKeyData = GridConti.Where(x => x.id == ChildContext.id).FirstOrDefault();
@ForeignKeyData.descrizione
//@ForeignKeyData.descrizione @ForeignKeyData.mastro
}
*@
<ComboBoxFieldSettings Value="id" Text="descrizione">ComboBoxFieldSettings>
SfComboBox>
EditTemplate>
GridColumn>
<GridColumn HeaderText="mastro" AllowEditing="true" AllowAdding="true" TextAlign="TextAlign.Left" Width="200">
<Template>
@{
var cit = (context as CausaleItem);
Conto ForeignKeyData = GridConti.Where(x => x.id == cit.conto_id).FirstOrDefault();
<span>@ForeignKeyData.mastrospan>
}
Template>
<EditTemplate>
@{
var cit = (context as CausaleItem);
if (cit.conto_id > 0)
{
Conto ForeignKeyData = GridConti.Where(x => x.id == cit.conto_id).FirstOrDefault();
<span>@ForeignKeyData.mastrospan>
}
else
{
<span>span>
}
}
EditTemplate>
GridColumn>
<GridColumn HeaderText="sottoconto" AllowEditing="false" AllowAdding="false" TextAlign="TextAlign.Left" Width="200">
<Template>
@{
var cit = (context as CausaleItem);
Conto ForeignKeyData = GridConti.Where(x => x.id == cit.conto_id).FirstOrDefault();
<span>@ForeignKeyData.sottocontospan>
}
Template>
<EditTemplate>
@{
var cit = (context as CausaleItem);
if (cit.conto_id > 0)
{
Conto ForeignKeyData = GridConti.Where(x => x.id == cit.conto_id).FirstOrDefault();
<span>@ForeignKeyData.sottocontospan>
}
else
{
<span>span>
}
}
EditTemplate>
GridColumn>
Attachment: Edit_on_Grid_Inline_3803e895.rar
Hi Biagio,
Greetings from Syncfusion support
Query:” The tab does not move to the Row on Grid's Edit Template”
We created the sample based on the information you provided. However, we were unable to reproduce the reported issue in our final version[20.3.0.57]. Please see the attached sample for your reference.
If the reported issue persists, kindly share the following information with us so that we can validate the reported query and provide a solution as soon as possible.
Regards,
Prathap S