I working on inline edit using ignite-ui-angular grid and it highlights all rows when I select a row and also save/cancel prompt panel appears in wrong row. Their example works but I am customizing column so I think that maybe the problem but not sure how to fix it.
Asked
Active
Viewed 210 times
0

wil
- 853
- 2
- 10
- 24
1 Answers
0
As stated in the Grid Row Editing topic, 'primaryKey' is required for row editing operations.
<igx-grid
[data]="data"
[primaryKey]="'ProductID'"
width="100%"
height="500px"
[rowEditable]="true"
></igx-grid>
Having in mind that, I assume that in your scenario ‘primaryKey’ is set to a column that is not existing in the underlying data source of the igxGridComponent.
Please verify that the primary key is set correctly.
-
thanks Martin, I had the wrong primary key value. once I restarted the site, it seems to work now – wil Feb 03 '21 at 14:18