Hi Zack,
We have analyzed your query and we suspect that you want to do CRUD operations in Grid but while editing the record first record value gets shown in other records editing.
If Grid columns does not have primaryKey column then CRUD operations are not properly working. CRUD operations are performed based on the primaryKey column in Grid. So, you need to enable isPrimaryKey property in any one of the column, which has unique values.
Refer the below code example.
<ej-grid id="Grid23" [allowPaging]="true" >
<e-columns>
<e-column field="EmployeeID" headerText="Employee ID" textAlign="right"></e-column>
<e-column field="OrderID" [isPrimaryKey]="true" headerText="Order ID" textAlign="right"></e-column>
<e-column field="CustomerID" headerText="Customer ID" textAlign="right"></e-column>
</e-columns>
</ej-grid>
|
Refer the help documentation.
Regards,
Thavasianand S.