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
990
Uncaught Error: Primary Key
posted

Hi,

When i set a Primary key on my grid to a column of type number, and then turn on the Updating feature, i get an error when i simply click on a row in the grid like this:

 "infragistics.lob.js:135 Uncaught Error: A record with id 2 could not be found in the data view. Verify the id used for the search and adjust it if necessary."

It is using the row index as the ID instead of the actual column that contains the primary key value that i have set up.

how can i fix this error?

thanks,

wvusaf

Parents
No Data
Reply
  • 15320
    Offline posted

    Hello wvusaf,

    Please make sure that you've properly set the primaryKey of the grid. This error is thrown if the primaryKey is not defined. Could you send me an isolated sample or share your code?

    Regards,

    Tsanna

Children
No Data