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