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
495
"row" object in transactions when updating row?
posted

Hello,

I have "editMode: 'row'" set in my Updating feature. I noticed in my grid when I update a cell, every other cell in the row gets blanked out and the row object in pending transactions has all empty strings as well. I believe I am likely missing something simple, but I did try looking through the documentation.

If I change editMode to 'cell' then I can edit each cell one-by-one but then I don't get the row object that I need in pendingTransactions.

Please let me know if I am unclear.

Thanks

Parents
  • 1015
    Verified Answer
    posted

    Check if you have set a primary key in your settings.

    If you are allowing the grid to automatically set the primary key :

    You must set the dataType of that column to "number" or it will give you problems like you mentioned.

    I had the same problem and wasted hours on trying to click to update a row and then all my values would disappear.  However if I stopped editing the row was really there.

    I asked Infragistics to make sure they put that in the documentation.

Reply Children
No Data