Our blazing fast Grid component built with pure JavaScript


Post by thejas.pateel »

Hi,
Modified array in store is additional records which is not being edited and also when we check difference between original record and data .extra parameter is adding called parentndex please help me out.

Test.PNG
Test.PNG (934 Bytes) Viewed 390 times

Post by Animal »

The data property of Records is private. Use the Record's own API to access its values.


Post by thejas.pateel »

Can you please show code snippet? i am getting unmodified records as well

Modifed Record.jpg
Modifed Record.jpg (14.23 KiB) Viewed 381 times

As shown in screenshot i have modified only 2 records but now its showing 4 records (2 unmodified records)


Post by alex.l »

After your last reply I am not sure we got your problem correct.
Could you please provide steps to reproduce this? Why do you think these record shouldn't be modified? What exactly did you do?
record API that Animal meant, is record.parentIndex, in general: record.fieldName, but I am not sure this is that you reported about.

All the best,
Alex


Post Reply