Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
5511 มุมมอง

Hello,

I am trying to modify a kaban view a bit, and for a quick test, I edited kanban.js to print 'dataset' to the console

console.log(dataset); --> ... ids: Array[7]

But

console.log(dataset.ids);  --> Empty array. 



Can somebody explain this?

And how can I change dataset.ids ? (I set dataset.ids = [1, 2, 3]; but this did not work)

Thank you!






อวตาร
ละทิ้ง
ผู้เขียน

I don't know why i can not edit my question and upload photo feature of this forum does not work (I inserted an image in my question). Please take a look at: https://flic.kr/p/Eoxi8Q

ผู้เขียน คำตอบที่ดีที่สุด

Okie,

got it.

http://stackoverflow.com/questions/35791853/can-not-access-and-change-property-of-a-variable

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ค. 23
2725
3
มิ.ย. 20
4952
1
เม.ย. 16
5126
0
มี.ค. 15
4886
0
ก.ค. 25
255