Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
220
set primaryKey for the igGrid that the updating feature will clear the original value when starting to edit
posted

If I didn't set primaryKey for the igGrid,when I click header to sort,  it will throw an exception when click the cell to edit value. the JS error tell me should set the primary key.
But if I set the primaryKey for the igGrid, such as below:
$(".selector").igGrid({
    primaryKey : "CustomerID"
});
and when I click one cell to start editing the value, it will clear the original value. How should I do for this issue?
Thanks,