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