Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
8636 Lượt xem

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

 

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 16
2960
0
thg 8 23
194
1
thg 2 22
2572
0
thg 8 18
5560
0
thg 2 18
6296