1
在早期版本的extjs中,我們使用initEditor來覆蓋行編輯器插件的配置。如何更改extjs 4.2.2行編輯器中的按鈕文本?
在4.2.2中,我們沒有initEditor,有人可以告訴我如何在4.2.2中覆蓋配置來更新按鈕文本。
在此先感謝。
在早期版本的extjs中,我們使用initEditor來覆蓋行編輯器插件的配置。如何更改extjs 4.2.2行編輯器中的按鈕文本?
在4.2.2中,我們沒有initEditor,有人可以告訴我如何在4.2.2中覆蓋配置來更新按鈕文本。
在此先感謝。
var editor = new Ext.ux.grid.RowEditor({
saveText : 'My Save Button Text';,
cancelText: 'My Cancel Button Text',
clicksToEdit: 1, //this changes from the default double-click activation to single click activation
errorSummary: false //disables display of validation messages if the row is invalid
});
嗨,歡迎在所以:)你會如此善良,並閱讀https://stackoverflow.com/help/how-to-ask – Svinjica