language.fixedColumns.button
起始版本:FixedColumns 4.0.0
設定 FixedColumns 按鈕文字。
請注意 - 此屬性需要 DataTables 的 FixedColumns 擴充套件。
描述
作為標準,FixedColumns 會將 FixedColumns 按鈕設定為顯示預設文字,在此情況下為 FixedColumns
language.fixedColumns.button
的值會傳遞到 i18n()
函式中。
類型
預設值
- 數值:
FixedColumns
範例
變更 FixedColumns 按鈕的訊息
$(document).ready(function () {
new DataTable('#myTable', {
language: {
fixedColumns: {
button: 'Sticky Columns'
}
},
layout: {
topLeft: {
buttons: ['fixedColumns']
}
}
});
});
相關
以下選項直接相關,在您的應用程式開發中也可能很有用。