Hello,
I have implemented a table with multiple row selection per checkbox. When I select some rows and click on the delete button, the row of the last selected index is selected after the deletion. I want that no row is selected after I delete one or more rows. How can I solve this problem?
<ejs-grid
#grid
width="100%"
height="700"
[dataSource]="tableData"
[selectionSettings]='selectionOptions'
[editSettings]='editSettings'
[toolbar]='toolbar'
>
<e-columns>
<e-column type='checkbox' width='50'></e-column>
<e-column field="nationalitaetSv" headerText='Nationalitätenkennzeichen' [validationRules]="svRules"></e-column>
<e-column field="nationalitaetIso" headerText="ISO-Kennzeichen" [validationRules]="isoRules"></e-column>
<e-column field="nationalitaetTextKurz" headerText="Kurzbezeichnung" [validationRules]="kurzRules"></e-column>
<e-column field="nationalitaetTextLang" headerText="Langbezeichnung" [validationRules]="langRules"></e-column>
<e-column field="malus" headerText="Malus" [validationRules]="malusRules"></e-column>
<e-column field="prio" headerText="Priorität"></e-column>
<e-column field="schnellzugriff" headerText="Schnellzugriff" [displayAsCheckBox]="true"></e-column>
<e-column field="tastaturKuerzel" headerText="Tastaturkürzel"></e-column>
</e-columns>
</ejs-grid>
ngOnInit() {
this.tableData=data;
this.selectionOptions = { checkboxMode: 'ResetOnRowClick'};
this.editSettings = { allowEditing: true, allowAdding: true, allowDeleting: true };
this.toolbar = ['Add', 'Edit', 'Delete'];
this.svRules = { required: true};
this.isoRules = { required: true, minLength: 2, maxLength: 2};
this.kurzRules = { required: true};
this.langRules = { required: true};
this.malusRules = { required: true, number: true};
}