您可以更新CSS
爲殘疾人按鈕DataTable
CSS
,如:
這是CSS
爲使錨:
.dataTables_wrapper .dataTables_paginate .paginate_button {
box-sizing: border-box;
display: inline-block;
min-width: 1.5em;
padding: 0.5em 1em;
margin-left: 2px;
text-align: center;
text-decoration: none !important;
cursor: pointer;
color: #333 !important;
border: 1px solid transparent;
border-radius: 2px;
}
拷貝CSS
您禁用主播CSS
。
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
cursor: default;
color: #666 !important;
border: 1px solid transparent;
background: transparent;
box-shadow: none;
}
我相信你需要刪除禁用的屬性,而不僅僅是改變它的值 –
因此,它的樣式,看看你喜歡什麼。 – dfsq
奇怪的要求。通過禁用該按鈕,它可以讓用戶看到他們已經到達結果集的末尾。你爲什麼不想要那個? –