Hi Pradeep,
Thanks for contacting Syncfusion support.
We have analyzed your query and we are not able to reproduce the reported issue. We have also prepared a sample that can be downloaded from the below link
Refer the code example
|
[grid.component.html]
<ej-grid [allowPaging]="true" [allowSorting]="true" [dataSource]="gridData" [toolbarSettings]="toolbarItems" [editSettings]="editSettings">
<e-columns>
<e-column field="OrderID" headerText="Order ID" width="75" [isPrimaryKey]="true" textAlign="right"></e-column>
<e-column field="CustomerID" headerText="Customer ID" width="80"></e-column>
...
</e-columns>
</ej-grid>
[grid.component.ts]
export class GridComponent {
public editSettings;
public toolbarItems;
constructor() {
this.editSettings = { allowEditing: true, allowAdding: true, allowDeleting: true, editMode: "normal" };
this.toolbarItems = { showToolbar: true, toolbarItems: ["add", "edit", "delete", "update", "cancel"] };
...
[package.json]
"dependencies": {
"@angular/common": "~4.3.6",
"@angular/compiler": "~4.3.6",
"@angular/core": "~4.3.6",
"@angular/forms": "~4.3.6",
"@angular/http": "~4.3.6",
...
}, |
Refer the documentation link
If you still face the issue please get back to us with the following details.
1. Share the screenshot/ video of the issue that you have faced.
2. Share the full grid code and the package.json file.
3. If possible please reproduce the issue in the above attached sample
The provided information will help us to analyze the issue and provide you the response as early as possible.
Please let us know if you need further assistance.
Regards,
Manisankar Durai.