Tùy chọn này cho phép tạo/thêm [các] nút tùy chỉnh vào “thanh nút” [trên cùng bên phải của bảng]. Các nút này có thể được sắp xếp với tùy chọn bảng buttonsOrder, khóa/tên được sử dụng cho sự kiện nên được sử dụng cho điều đó
Nút tùy chỉnh có cấu hình cao, tồn tại các tùy chọn sau
2{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Sự miêu tả. Tùy chọn này được sử dụng cho tùy chọn bảng showButtonText
- Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
4{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Sự miêu tả. Tùy chọn này được sử dụng cho tùy chọn bảng showButtonIcons
- Loại.
2 - Chỉ cần lớp biểu tượng e. g.{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
6{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
7{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Sự miêu tả. Đặt tùy chọn này thành
8 để ẩn nút theo mặc định, nút sẽ hiển thị lại khi bạn thêm thuộc tính dữ liệu{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
9{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Sự miêu tả. Đặt tùy chọn này thành
0function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Sự miêu tả. Tùy chọn này cho phép thêm các thuộc tính html bổ sung e. g.
1function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Loại.
8{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
- Ví dụ.
3function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Sự miêu tả. Tùy chọn này cho phép thêm các thuộc tính html bổ sung e. g.
4function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Sự miêu tả. Nếu bạn không muốn tự động tạo html, bạn có thể sử dụng tùy chọn này để chèn html tùy chỉnh của mình. Tùy chọn
5 chỉ hoạt động nếu HTML tùy chỉnh của bạn chứafunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
6. Nếu tùy chọn này được sử dụng, các tùy chọn sau sẽ bị bỏ quafunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Loại.
7function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Sự miêu tả. Nếu bạn không muốn tự động tạo html, bạn có thể sử dụng tùy chọn này để chèn html tùy chỉnh của mình. Tùy chọn
5function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
- Sự miêu tả. Nên được sử dụng nếu bạn muốn thêm một sự kiện vào nút
- Loại.
9function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Tùy chọn
function customSearch[data, text] {
return data.filter[function [row] {
return row.field.indexOf[text] > -1
}]
}
5 có thể được cấu hình theo ba cách. Một sự kiện với sự kiện {
'event': {
'click': [] => { },
'mouseenter': [] => { },
'mouseleave': [] => { }
}
}
91Một sự kiện có loại sự kiện tự xác định
{
btnRemoveEvenRows: {
'text': 'Remove even Rows',
'icon': 'fa-trash',
'event': [] => {
//DO STUFF TO REMOVE EVEN ROWS
},
'attributes': {
'title': 'Remove all rows which has a even id'
}
}
}
0Nhiều sự kiện với các loại sự kiện tự xác định
{
'event': {
'click': [] => { },
'mouseenter': [] => { },
'mouseleave': [] => { }
}
}
Gợi ý. Thay vì các hàm nội tuyến, bạn cũng có thể sử dụng tên hàm
Nút tùy chỉnh được định cấu hình có thể trông như thế này
{
btnRemoveEvenRows: {
'text': 'Remove even Rows',
'icon': 'fa-trash',
'event': [] => {
//DO STUFF TO REMOVE EVEN ROWS
},
'attributes': {
'title': 'Remove all rows which has a even id'
}
}
}
Mặc định.
{
'event': {
'click': [] => { },
'mouseenter': [] => { },
'mouseleave': [] => { }
}
}
9Ví dụ. nút
các nútCăn chỉnh
Thuộc tính.
93{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết cách căn chỉnh các nút trên thanh công cụ. Có thể sử dụng ________ 195, ________ 196
Mặc định.
96{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Các nút căn chỉnh
nútLớp học
Thuộc tính.
98{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định lớp [được thêm vào sau
10] của các nút bảng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
11{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Lớp nút
nútĐặt hàng
Thuộc tính.
12{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
13{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết cách tùy chỉnh thứ tự các nút trên thanh công cụ
Mặc định.
14{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Thứ tự các nút
núttiền tố
Thuộc tính.
15{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định tiền tố của các nút bảng
Mặc định.
17{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Tiền tố nút
Thuộc tính.
18{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
19{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Ví dụ: bộ chọn jQuery cho biết thanh công cụ nút tùy chỉnh.
10,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
11 hoặc nút DOM{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Thanh công cụ nút
bộ đệm
Thuộc tính.
13{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
8 để tắt bộ nhớ đệm của các yêu cầu AJAX{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Bộ đệm bảng
thẻXem
Thuộc tính.
17{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị bảng xem thẻ, ví dụ: chế độ xem trên thiết bị di động{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Chế độ xem thẻ
Thuộc tính.
21{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
8 để ẩn hộp kiểm kiểm tra tất cả trong hàng tiêu đề{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Tiêu đề hộp kiểm
các lớp học
Thuộc tính.
25{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Tên lớp của bảng. Có thể sử dụng
3,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
28,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
29, ________ 610, ________ 611, ________ 612 và ________ 613. Theo mặc định, bảng được viền{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. lớp bảng
bấm để chọn
Thuộc tính.
15{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để chọn hộp kiểm hoặc hộp radio khi nhấp vào hàng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Bấm để chọn
cột
Thuộc tính.
19{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
13{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Đối tượng cấu hình cột bảng. Xem thuộc tính cột để biết thêm chi tiết
Mặc định.
21{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Cột bảng
nội dungType
Thuộc tính.
22{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Ví dụ, loại nội dung của yêu cầu dữ liệu từ xa.
24{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
25{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Loại nội dung
tìm kiếm tuỳ chỉnh
Thuộc tính.
26{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Chức năng tìm kiếm tùy chỉnh được thực hiện thay vì chức năng tìm kiếm tích hợp, có ba tham số
28. dữ liệu bảng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
2. văn bản tìm kiếm{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
00. đối tượng bộ lọc từ phương thức{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
01{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ sử dụng
sắp xếp tùy chỉnh
Thuộc tính.
02{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Chức năng sắp xếp tùy chỉnh được thực thi thay vì chức năng sắp xếp tích hợp, nhận ba tham số
04. tên sắp xếp{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
05. thứ tự sắp xếp{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
28. dữ liệu hàng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Đặt hàng tùy chỉnh
dữ liệu
Thuộc tính.
08{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
09{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Dữ liệu cần nạp
Nếu trong dữ liệu có thuộc tính
10 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
11 thì sẽ auto gộp ô chẳng hạn{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
9{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Nếu sử dụng tính năng này, cần phải có
28 để đảm bảo rằng định dạng là chính xác{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
21{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. từ dữ liệu
trường dữ liệu
Thuộc tính.
14{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Nhập JSON đến chứa danh sách dữ liệu
16{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
16{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Tổng số/Trường dữ liệu
loại dữ liệu
Thuộc tính.
18{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Loại dữ liệu mà bạn mong nhận được từ máy chủ
Mặc định.
20{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Loại dữ liệu
bộ lọc chi tiết
Thuộc tính.
21{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho phép mở rộng mỗi hàng khi
23 được đặt thành{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
16. Trả về true và hàng sẽ được bật để mở rộng, trả về false và tính năng mở rộng cho hàng sẽ bị tắt. Hàm mặc định trả về true để cho phép mở rộng cho tất cả các hàng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
25{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Bộ lọc chi tiết
chi tiếtFormatter
Thuộc tính.
26{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Định dạng chế độ xem chi tiết của bạn khi
23 được đặt thành{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
16. Trả về một Chuỗi và nó sẽ được thêm vào ô xem chi tiết, tùy ý hiển thị phần tử trực tiếp bằng cách sử dụng tham số thứ ba, là phần tử jQuery của ô đích{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
30{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Góc nhìn chi tiết
Góc nhìn chi tiết
Thuộc tính.
31{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị bảng xem chi tiết. Bạn có thể đặt tùy chọn{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
34 để duy trì trạng thái xem chi tiết khi làm mới bảng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Xem chi tiết UniqueId
chi tiếtXemCăn chỉnh
Thuộc tính.
36{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết cách căn chỉnh biểu tượng xem chi tiết. Có thể sử dụng ________ 195, ________ 196
Mặc định.
95{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Xem chi tiết Căn chỉnh
chi tiếtViewByClick
Thuộc tính.
41{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để chuyển chế độ xem chi tiết khi nhấp vào một ô{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Xem chi tiết Biểu tượng
chi tiếtViewIcon
Thuộc tính.
45{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị cột xem chi tiết [biểu tượng cộng/trừ]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Xem chi tiết Biểu tượng
thoát khỏi
Thuộc tính.
49{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Escapes a string for insertion into HTML, replacing &, , “, `, and ‘ characters.
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. thoát bàn
bộ lọcTùy chọn
Thuộc tính.
52{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Xác định các tùy chọn bộ lọc mặc định của thuật toán,
54 có nghĩa là tất cả các bộ lọc đã cho phải khớp,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
55 có nghĩa là một trong các bộ lọc đã cho phải khớp{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
56{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Tùy chọn bộ lọc
Thuộc tính.
57{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định khóa của Đối tượng chân trang [Từ mảng dữ liệu hoặc JSON phản hồi của máy chủ]. Đối tượng chân trang có thể được sử dụng để thiết lập/xác định cột chữ cái chân trang và/hoặc giá trị của chân trang. Chỉ được kích hoạt khi
59 là{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
16 và{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
61 là{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
62{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
{
'event': {
'click': [] => { },
'mouseenter': [] => { },
'mouseleave': [] => { }
}
}
1Thuộc tính.
63{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Chức năng định dạng kiểu chân trang, nhận một tham số
65. đối tượng cột{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Hỗ trợ
66 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
67. Ví dụ sử dụng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
{
btnRemoveEvenRows: {
'text': 'Remove even Rows',
'icon': 'fa-trash',
'event': [] => {
//DO STUFF TO REMOVE EVEN ROWS
},
'attributes': {
'title': 'Remove all rows which has a even id'
}
}
}
1Thuộc tính.
68{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Chức năng định dạng kiểu tiêu đề, nhận một tham số
65. đối tượng cột{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Hỗ trợ
66 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
67. Ví dụ sử dụng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
{
btnRemoveEvenRows: {
'text': 'Remove even Rows',
'icon': 'fa-trash',
'event': [] => {
//DO STUFF TO REMOVE EVEN ROWS
},
'attributes': {
'title': 'Remove all rows which has a even id'
}
}
}
2Chiều cao
Thuộc tính.
73{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Chiều cao của bảng, cho phép tiêu đề cố định của bảng
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Chiều cao bảng
biểu tượng
Thuộc tính.
76{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
8{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định các biểu tượng được sử dụng trong thanh công cụ, phân trang và chế độ xem chi tiết
Mặc định
{
btnRemoveEvenRows: {
'text': 'Remove even Rows',
'icon': 'fa-trash',
'event': [] => {
//DO STUFF TO REMOVE EVEN ROWS
},
'attributes': {
'title': 'Remove all rows which has a even id'
}
}
}
1kích cỡ biểu tượng
Thuộc tính.
78{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định kích thước biểu tượng, có thể sử dụng
6,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
81,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
82{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Kích cỡ biểu tượng
iconPrefix
Thuộc tính.
84{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định tên bộ biểu tượng [
86 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
87 cho FontAwesome]. Theo mặc định,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
87 được sử dụng cho Bootstrap v4{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
87{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
- Ví dụ. Tiền tố biểu tượng
idField
Thuộc tính.
90{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết trường nào sẽ được sử dụng làm giá trị hộp kiểm/hộp radio, là phần tương ứng để chọn Tên mục
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
- Ví dụ. Trường ID
Thuộc tính.
93{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Đặt các phần tử bỏ qua
95 trên. Lấy một tham số{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
96. phần tử được nhấp vào{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Trả về true nếu thao tác nhấp chuột bị bỏ qua, sai nếu thao tác nhấp chuột khiến hàng được chọn. Tùy chọn này chỉ có liên quan nếu
95 là đúng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
98{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Bỏ qua Click To Select On
đang tảiCỡ chữ
Thuộc tính.
99{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Để xác định kích thước phông chữ của văn bản đang tải, giá trị mặc định là
01, được tính tự động theo chiều rộng của bảng, trong khoảng từ 12px đến 32px{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
01{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Đang tải cỡ chữ
đang tảiMẫu
Thuộc tính.
03{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Để tự tùy chỉnh loại tải. Các tham số đối tượng chứa
- đang tảiTin nhắn. miền địa phương
05{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- đang tảiTin nhắn. miền địa phương
- Mặc định
2{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Ví dụ. Đang tải mẫu
miền địa phương
Thuộc tính.
06{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Đặt ngôn ngữ để sử dụng [i. e.
08]. Tệp ngôn ngữ phải được tải trước. Cho phép các ngôn ngữ dự phòng, nếu được tải, theo thứ tự sau{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Lần đầu tiên thử ngôn ngữ như đã chỉ định,
- Sau đó, thử ngôn ngữ có '_' được dịch thành '-' và mã vùng được viết hoa,
- Sau đó thử mã ngôn ngữ ngắn [i. e.
09 thay vì{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
08],{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
- Và cuối cùng sẽ sử dụng tệp ngôn ngữ cuối cùng được tải [hoặc ngôn ngữ mặc định nếu không có ngôn ngữ nào được tải]
If left
6 or an empty string, use the last locale loaded [or{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
12 if no locale files loaded]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Table Locale
Thuộc tính.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Set
16 to maintain the following metadata on the change page and search{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Duy trì siêu dữ liệu
phương pháp
Thuộc tính.
18{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Loại phương thức để yêu cầu dữ liệu từ xa
Default.
20{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Phương pháp bảng
tối thiểuCountColumns
Thuộc tính.
21{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Số cột tối thiểu để ẩn khỏi danh sách cột thả xuống
Default.
23{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Minimum Count Columns
nhiềuSelectRow
Thuộc tính.
24{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để bật hàng nhiều lựa chọn. Có thể sử dụng ctrl+click để chọn một hàng hoặc shift+click để chọn nhiều hàng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Nhiều hàng chọn
trangList
Attribute.
28{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
13{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Khi đặt thuộc tính phân trang, hãy khởi tạo kích thước trang bằng cách chọn danh sách. Nếu bạn bao gồm tùy chọn
30 hoặc{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
31, tất cả các bản ghi sẽ được hiển thị trong bảng của bạn{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Gợi ý. Nếu bảng có ít hàng hơn dưới dạng [các] tùy chọn, các tùy chọn sẽ tự động bị ẩn. Để tắt tính năng đó, bạn có thể đặt smartDisplay thành
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
33{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Danh sách trang
pageNumber
Thuộc tính.
34{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Khi đặt thuộc tính phân trang, khởi tạo số trang
Default.
23{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Số trang
kích thước trang
Thuộc tính.
37{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Khi đặt thuộc tính phân trang, hãy khởi tạo kích thước trang
Mặc định.
39{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Kích thước trang
Thuộc tính.
59{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị thanh công cụ phân trang ở cuối bảng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Phân trang bảng
Thuộc tính.
44{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Nêu cách căn chỉnh chi tiết số trang. Có thể sử dụng ________ 195, ________ 196
Mặc định.
95{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Phân trang H Căn chỉnh
Thuộc tính.
49{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Nêu cách căn chỉnh số trang. Có thể sử dụng ________ 195, ________ 196
Mặc định.
96{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Phân trang H Căn chỉnh
Thuộc tính.
54{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để bật chế độ vòng lặp liên tục phân trang{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Example. Vòng lặp phân trang
Thuộc tính.
58{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết biểu tượng hoặc văn bản sẽ được hiển thị trong chi tiết phân trang, nút tiếp theo
Mặc định.
60{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Phân trang văn bản
Thuộc tính.
61{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
The number of pages on each side [right, left] of the current page
Default.
23{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Example. Số chỉ mục phân trang
Thuộc tính.
64{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
13{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Các tùy chọn này xác định phần nào của phân trang sẽ được hiển thị
66 Cho biết tập dữ liệu nào sẽ được hiển thị trên trang hiện tại [e. g.{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
67]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
68 Tương tự như{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
66, nó chỉ hiển thị bảng có bao nhiêu hàng [e. g.{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
70]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
71 Hiển thị danh sách thả xuống xác định số lượng hàng sẽ được hiển thị trên trang{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
72 Hiển thị phần chính của phân trang [Danh sách các trang]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
73{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Bộ phận phân trang
Thuộc tính.
74{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Indicate the icon or text shown in the pagination detail, the previous button
Mặc định.
76{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Phân trang văn bản
Thuộc tính.
77{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Số trang liên tiếp tối đa trong một hàng
Mặc định.
79{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Example. Số chỉ mục phân trang
Thuộc tính.
80{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Tính toán và hiển thị các trang trung gian để truy cập nhanh
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Example. Số chỉ mục phân trang
Thuộc tính.
83{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết cách căn chỉnh theo chiều dọc của phân trang. Có thể sử dụng
85,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
86,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
87 [đặt số trang trên và dưới]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
86{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Phân trang V Căn chỉnh
truy vấnParams
Thuộc tính.
89{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Khi yêu cầu dữ liệu từ xa, bạn có thể gửi các tham số bổ sung bằng cách sửa đổi queryParams
Nếu
91, đối tượng params chứa.{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
92,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
93,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
94,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
95,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
96{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Khác, nó chứa.
71,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
98,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
99,{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
04,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
05{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Trả lại
8 để dừng yêu cầu{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
03function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. Tham số truy vấn
queryParamsType
Attribute.
04function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Đặt
06 để gửi thông số truy vấn với loại RESTFulfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Mặc định.
06function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. Query Params Type
regexTìm kiếm
Thuộc tính.
08function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để bật tìm kiếm regex. Nếu tùy chọn này được bật, bạn có thể tìm kiếm bằng regex, e. g. ________ 811 cho tất cả các mục kết thúc bằng ________ 812, ________ 813 hoặc ________ 814. Regex có thể được nhập với{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
15 hoặc không có cờfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
11. Các cờ mặc định làfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
17function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Regex Search
ghi nhớĐặt hàng
Thuộc tính.
19function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để ghi nhớ thứ tự cho từng cột{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. nhớ đặt hàng
responseHandler
Thuộc tính.
23function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Trước khi tải dữ liệu từ xa, hãy xử lý định dạng dữ liệu phản hồi. Đối tượng tham số chứa
25. dữ liệu phản hồifunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
26. đối tượng jqXHR, là siêu tập hợp của đối tượng XMLHTTPRequest. Để biết thêm thông tin, hãy xem Loại jqXHRfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Mặc định.
27function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. Trình xử lý phản hồi
thuộc tính hàng
Attribute.
28function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Hàm định dạng thuộc tính hàng, nhận hai tham số
30. dữ liệu ghi hàngfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
31. chỉ số hàngfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Hỗ trợ tất cả các thuộc tính tùy chỉnh
Mặc định.
9{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Thuộc tính hàng
hàngPhong cách
Thuộc tính.
33function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
5{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Hàm định dạng kiểu hàng, nhận hai tham số
30. dữ liệu ghi hàngfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
31. chỉ số hàngfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Các lớp hỗ trợ hoặc css
Mặc định.
9{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Example. kiểu hàng
Tìm kiếm
Thuộc tính.
38function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Kích hoạt đầu vào tìm kiếm
Có ba cách để tìm kiếm
- Giá trị chứa truy vấn tìm kiếm [Mặc định]. Example. Github chứa git
- The value must be identical to the search query. Ví dụ. Github [value] and Github [search query]
- Comparisons [, ]. Example: 4 is larger than 3.
ghi chú
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Tìm kiếm bảng
searchAccentNeutralise
Thuộc tính.
41function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt thành
16 nếu bạn muốn sử dụng tính năng trung hòa trọng âm{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Trung hòa trọng âm tìm kiếm
tìm kiếmCăn chỉnh
Thuộc tính.
45function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết cách căn chỉnh đầu vào tìm kiếm. Có thể sử dụng ________ 195, ________ 196
Mặc định.
96{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Căn chỉnh tìm kiếm
tìm kiếmĐánh dấu
Thuộc tính.
50function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt thành
16 để đánh dấu văn bản được tìm kiếm [sử dụng thẻ HTML{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
53]. Bạn cũng có thể xác định một trình định dạng đánh dấu tùy chỉnh, e. g. , cho các giá trị có HTML hoặc để sử dụng màu tô sáng tùy chỉnhfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Mặc định.
54function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Example. Tìm kiếm nổi bật
tìm kiếmOnEnterKey
Thuộc tính.
55function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Phương pháp tìm kiếm sẽ được thực hiện cho đến khi nhấn phím Enter
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Tìm kiếm trên phím Enter
bộ chọn tìm kiếm
Thuộc tính.
58function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
59function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Chi tiết
Nếu tùy chọn này được đặt [phải là bộ chọn dom hợp lệ, e. g.
60], phần tử dom được tìm thấy [phần tửfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
61] sẽ được sử dụng làm tìm kiếm bảng thay vì đầu vào tìm kiếm tích hợpfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Example. Bộ chọn tìm kiếm
tìm kiếmVăn bản
Thuộc tính.
63function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Khi đặt thuộc tính tìm kiếm, hãy khởi tạo văn bản tìm kiếm
Mặc định.
65function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. Tìm kiếm văn bản
Thuộc tính.
66function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Đặt thời gian chờ để kích hoạt tìm kiếm
Mặc định.
68function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. Hết thời gian tìm kiếm
selectItemName
Thuộc tính.
69function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
The name of the radio or checkbox input
Mặc định.
71function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. Trường ID
máy chủSắp xếp
Thuộc tính.
72function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
8 để sắp xếp dữ liệu ở phía máy khách, chỉ hoạt động khi{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
75 làfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
62{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Sắp xếp máy chủ
showButtonBiểu tượng
Thuộc tính.
78function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Tất cả các nút sẽ hiển thị các biểu tượng trên chúng
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. hiển thị các biểu tượng nút
showButtonText
Thuộc tính.
81function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Tất cả các nút sẽ hiển thị văn bản trên chúng
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. hiển thị văn bản nút
hiển thịCột
Thuộc tính.
84function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị danh sách thả xuống cột. Chúng tôi có thể đặt tùy chọn cột{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
87 thànhfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
8 để ẩn mục cột trong danh sách thả xuống{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Cột cơ bản và Cột lớn
hiệnCộtTìm kiếm
Thuộc tính.
90function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị tìm kiếm cho bộ lọc của cột{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Tìm kiếm cột
showColumnsToggleAll
Thuộc tính.
94function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị hộp kiểm chuyển đổi tất cả trong tùy chọn cột/thả xuống{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Cột chuyển đổi tất cả
Thuộc tính.
98function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị phiên bản phân trang mở rộng [bao gồm số lượng tất cả các hàng không có bộ lọc]. Nếu bạn sử dụng phân trang ở phía máy chủ, vui lòng sử dụng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
901 để xác định số lượng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị phân trang mở rộng
Thuộc tính.
903{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị hàng chân trang tóm tắt{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị chân trang
hiển thịToàn màn hình
Thuộc tính.
907{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị nút toàn màn hình{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị toàn màn hình
Thuộc tính.
911{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
8 để ẩn tiêu đề bảng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị tiêu đề
Thuộc tính.
915{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị nút chuyển đổi số trang{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị chuyển đổi phân trang
hiển thịLàm mới
Thuộc tính.
919{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị nút làm mới{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị Làm mới
hiển thịTìm kiếmNút
Thuộc tính.
923{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị Nút tìm kiếm phía sau đầu vào tìm kiếm. Tìm kiếm sẽ chỉ được thực hiện nếu nút được nhấn [e. g. , để ngăn lưu lượng truy cập hoặc thời gian tải]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị nút tìm kiếm
hiển thịTìm kiếmXóaNút
Thuộc tính.
927{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị Nút rõ ràng phía sau đầu vào tìm kiếm, nút này sẽ xóa đầu vào tìm kiếm [cũng như tất cả bộ lọc khỏi kiểm soát bộ lọc [nếu được bật]]{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị nút Xóa tìm kiếm
hiển thịChuyển đổi
Thuộc tính.
931{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị nút chuyển đổi để chuyển chế độ xem bảng/thẻ{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Hiển thị chuyển đổi
Thuộc tính.
61{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định phân trang bên của bảng, chỉ có thể là
937 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
938. Sử dụng phía{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
938 yêu cầu thiết lập tùy chọn{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
940 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
941{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Lưu ý rằng định dạng phản hồi của máy chủ được yêu cầu sẽ khác nhau tùy thuộc vào việc tùy chọn
942 được đặt thành{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
937 hay{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
938. Xem các ví dụ sau{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
tham số URL
Khi
75 được đặt thànhfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
62, bảng bootstrap sẽ gọi tới{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
947 với các tham số URL sau{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
93 với giá trị từ 0 đến{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
949 - 1, cho biết bản ghi đầu tiên bao gồm{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
92 với giá trị cho biết số hàng trên mỗi trang{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Khi triển khai phân trang phía máy chủ, bạn phải triển khai chế độ xem JSON theo định dạng như ví dụ này. Chế độ xem đó phải lấy các giá trị tham số URL được chỉ định ở trên và trả về các bản ghi bắt đầu từ chỉ mục
93 và trả về số lượng bản ghi được chỉ định bởi{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
92. Ví dụ: nếu bạn muốn bản ghi 11-20, chế độ xem của bạn phải lấy{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
953 và{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
954 từ chuỗi URL và trả về các bản ghi như ví dụ này{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
937{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Phân trang phía máy khách và phân trang phía máy chủ
im lặngSắp xếp
Thuộc tính.
956{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
8 để sắp xếp dữ liệu với thông báo tải. Tùy chọn này hoạt động khi tùy chọn sidePagination được đặt thành{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
938{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Sắp xếp im lặng
chọn đơn
Thuộc tính.
961{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để cho phép hộp kiểm chỉ chọn một hàng{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Chọn đơn
màn hình thông minh
Thuộc tính.
965{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để hiển thị phân trang hoặc xem thẻ một cách thông minh{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Màn hình thông minh
sắp xếp được
Thuộc tính.
969{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
8 để vô hiệu hóa khả năng sắp xếp của tất cả các cột{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Bảng có thể sắp xếp
sắp xếpLớp học
Thuộc tính.
973{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Tên lớp của các phần tử
975 được sắp xếp{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Sắp xếp lớp
sắp xếpEmptyLast
Thuộc tính.
977{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để sắp xếp{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
53,function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
6 và{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
982 làm giá trị cuối cùng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Sắp xếp trống cuối cùng
sortName
Thuộc tính.
984{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định cột nào sẽ được sắp xếp
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Sắp xếp Tên thứ tự
thứ tự sắp xếp
Thuộc tính.
987{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định thứ tự sắp xếp cột, chỉ có thể là
6,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
990 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
991{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Sắp xếp Tên thứ tự
sắp xếpĐặt lại
Thuộc tính.
993{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để đặt lại sắp xếp ở lần nhấp thứ ba{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Đặt lại sắp xếp
sortResetPage
Thuộc tính.
997{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để đặt lại số trang khi phân loại{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Sắp xếp lại trang
sắp xếpỔn định
Thuộc tính.
101{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để sắp xếp ổn định. Chúng tôi sẽ thêm thuộc tính{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
104 vào hàng{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Sắp xếp ổn định
Tìm kiếm nghiêm ngặt
Thuộc tính.
106{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Kích hoạt tính năng tìm kiếm nghiêm ngặt. Vô hiệu hóa kiểm tra so sánh
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Tìm kiếm nghiêm ngặt
lớp học thead
Thuộc tính.
109{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Tên lớp của bảng thead. Bootstrap v4, sử dụng các lớp sửa đổi
111 hoặc{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
112 để làm cho{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
113 xuất hiện màu xám nhạt hoặc đậm{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
65function customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
Ví dụ. lớp học đầu
Thuộc tính.
115{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
19{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Ví dụ: bộ chọn jQuery cho biết thanh công cụ.
117,{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
118 hoặc nút DOM{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Thanh công cụ tùy chỉnh
Thuộc tính.
120{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Cho biết cách căn chỉnh thanh công cụ tùy chỉnh. Có thể sử dụng ________ 195, ________ 196
Mặc định.
95{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Căn chỉnh thanh công cụ
tổng số
Thuộc tính.
125{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Nhập JSON đến chứa dữ liệu
127{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
127{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Tổng số/Trường dữ liệu
tổngKhông được lọc
Thuộc tính.
129{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Thuộc tính này chủ yếu được chuyển vào bởi máy chủ phân trang, rất dễ sử dụng
Mặc định.
131{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
TotalNotFilteredField
Thuộc tính.
132{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
133{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Trường từ phản hồi JSON sẽ được sử dụng cho
134{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
135{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Tổng số trường chưa được lọc
tổng số hàng
Thuộc tính.
136{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Thuộc tính này chủ yếu được chuyển vào bởi máy chủ phân trang, rất dễ sử dụng
Mặc định.
131{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
trimOnSearch
Thuộc tính.
139{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để cắt khoảng trắng trong trường tìm kiếm{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
16{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Cắt Khi Tìm Kiếm
văn bản không xác định
Thuộc tính.
143{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Xác định văn bản
6 mặc định{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
146{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Văn bản không xác định
Id duy nhất
Thuộc tính.
147{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Chỉ định một mã định danh duy nhất cho mỗi hàng. Id duy nhất phải luôn an toàn cho html e. g. chữ và số, nó không được chứa các ký tự có thể phá vỡ html e. g.
149{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. getRowByUniqueId
url
Thuộc tính.
151{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
2{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Một URL để yêu cầu dữ liệu từ trang web từ xa
Lưu ý rằng định dạng phản hồi của máy chủ được yêu cầu là khác nhau tùy thuộc vào việc tùy chọn
942 có được chỉ định hay không. Xem các ví dụ sau{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
tham số URL
Khi
75 được đặt thànhfunction customSearch[data, text] { return data.filter[function [row] { return row.field.indexOf[text] > -1 }] }
62, bảng bootstrap sẽ gọi tới{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
947 với các tham số URL sau{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
93 với giá trị từ 0 đến{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
949 - 1, cho biết bản ghi đầu tiên bao gồm{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
92 với giá trị cho biết số hàng trên mỗi trang{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Khi triển khai phân trang phía máy chủ, bạn phải triển khai chế độ xem JSON theo định dạng như ví dụ này. Chế độ xem đó phải lấy các giá trị tham số URL được chỉ định ở trên và trả về các bản ghi bắt đầu từ chỉ mục
93 và trả về số lượng bản ghi được chỉ định bởi{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
92. Ví dụ: nếu bạn muốn bản ghi 11-20, chế độ xem của bạn phải lấy{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
953 và{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
954 từ chuỗi URL và trả về các bản ghi như ví dụ này{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Ví dụ. Từ URL
xử lý lỗi
Để nhận lỗi tải, vui lòng sử dụng onLoadError
Thuộc tính.
165{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để kích hoạt cuộn ảo để hiển thị danh sách "vô hạn" ảo{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Mặc định.
8{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Ví dụ. Dữ liệu lớn
Thuộc tính.
169{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
74{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Chi tiết
Nếu tùy chọn này không được xác định, chúng tôi sẽ sử dụng chiều cao của mục đầu tiên theo mặc định
Điều quan trọng là phải cung cấp thông tin này nếu chiều cao mục ảo lớn hơn đáng kể so với chiều cao mặc định. Thứ nguyên này được sử dụng để giúp xác định số lượng ô sẽ được tạo khi khởi tạo và để giúp tính toán chiều cao của vùng có thể cuộn. Giá trị chiều cao này chỉ có thể sử dụng đơn vị
171{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Mặc định.
6{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
có thể nhìn thấyTìm kiếm
Thuộc tính.
173{ 'event': { 'click': [] => { }, 'mouseenter': [] => { }, 'mouseleave': [] => { } } }
Loại.
14{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }
Chi tiết
Đặt
16 để chỉ tìm kiếm trong cột/dữ liệu hiển thị. Nếu dữ liệu chứa các giá trị khác không được hiển thị, chúng sẽ bị bỏ qua khi tìm kiếm{ btnRemoveEvenRows: { 'text': 'Remove even Rows', 'icon': 'fa-trash', 'event': [] => { //DO STUFF TO REMOVE EVEN ROWS }, 'attributes': { 'title': 'Remove all rows which has a even id' } } }