sorting does not work

Hi,

when i’m using “mygrid.addRow(…)” to add items to the grid, sorting fails with the following error:
Cannot read property ‘idd’ of null

if i’m using xml as data-source sorting works fine, but sometimes its more practicable to add rows with “addRow”

How can this problem get fixed?

Thanks in advance

no idea?

Unfortunately we cannot reproduce this issue locally. Please provide us demo link or example where issue can be reproduced.