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

In Javascript I wanna get all IDs of the displayed objects (for example in a list view).

Is there a simple function or variable to get it?

Thx for ur help

 

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Found it. Actually this one is pretty simple in a list view:

var data_ids = self.dataset.ids;

that's it ... All the ids of the currently shown rows.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ส.ค. 16
2850
0
ส.ค. 23
194
Odoo use which javascript framework? แก้ไขแล้ว
1
ก.พ. 22
2502
0
ส.ค. 18
5494
0
ก.พ. 18
6236