跳至內容
選單
此問題已被標幟
2 回覆
5515 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
7月 23
2725
3
6月 20
4955
1
4月 16
5126
0
3月 15
4887
0
7月 25
257