language.stateRestore.creationModal.select
自:StateRestore 1.0.0 起
設定建立模式中 select
核取方塊的標籤文字。
請注意 - 此屬性需要 DataTables 的 StateRestore 擴充套件。
描述
此字串會顯示在核取方塊旁邊的標籤中,該核取方塊允許在建立狀態時顯示的建立模式中切換 select
狀態儲存。
此處設定的值會透過 i18n()
函式傳遞。
類型
預設值
- 值:
Select
範例
變更 select 核取方塊標籤的文字
new DataTable('#myTable', {
language: {
stateRestore: {
creationModal: {
select: 'Search Filter:'
}
}
},
layout: {
topStart: {
buttons: [
{
extend: 'createState',
config: {
creationModal: true,
toggle: {
select: true
}
}
},
'savedStates'
]
}
}
});
相關
以下選項直接相關,也可能對您的應用程式開發有所幫助。