|
<syncfusion:SfDataGrid Name="dataGrid"
ItemsSource="{Binding Employees}"
CurrentCellBeginEdit="DataGrid_CurrentCellBeginEdit">
private void DataGrid_CurrentCellBeginEdit(object sender, Syncfusion.UI.Xaml.Grid.CurrentCellBeginEditEventArgs e)
{
if(e.RowColumnIndex.RowIndex != 1)
{
e.Cancel = true;
}
} |
Grid.GetAddNewRowController(); in my grid.
Also Grid.View.AddNew() doesnt do anything .
Please give me a simplest way to add new row in grid.
p.s. i tried to add new row in collection which i bind with grid but then comboboxes dosent work my sf version is 18.2400.0.44