{hero}

language.buttons.removeAllStates

自:StateRestore 1.0.0 起

設定 StateRestore 移除全部按鈕內的文字。
請注意 - 此屬性需要 DataTables 的 StateRestore 擴充功能。

說明

此字串顯示在 StateRestore 的移除全部按鈕中。該按鈕的完整文件位於 removeAllStates

此處設定的值會透過 i18n() 函式傳遞。

類型

字串

說明

將顯示在 StateRestore 移除全部按鈕內的字串。

預設值

  • 值:移除所有狀態

範例

變更移除全部按鈕內的文字

new DataTable('#myTable', {
	language: {
		buttons: {
			removeAllStates: 'Remove All'
		}
	},
	layout: {
		topStart: {
			buttons: ['createState', 'savedStates']
		}
	}
});

相關

以下選項直接相關,在您的應用程式開發中也可能很有用。