تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
5508 أدوات العرض

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
يوليو 23
2722
3
يونيو 20
4939
1
أبريل 16
5124
0
مارس 15
4882
0
يوليو 25
224