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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
関連投稿 | 返信 | ビュー | 活動 | |
---|---|---|---|---|
|
0
8月 16
|
2968 | ||
|
0
8月 23
|
194 | ||
|
1
2月 22
|
2593 | ||
|
0
8月 18
|
5586 | ||
|
0
2月 18
|
6327 |