![](/img/trans.png)
[英]Yahoo YUI 2 - Rich Text Editor - how do I change the titlebar of the Editor to another string value?
[英]How do I specify the return value in a custom YUI cell editor?
我創建了一個自定義單元格編輯器,該編輯器擴展了BaseCellEditor,但是如何指定要保存/返回的單元格的值?
設置this.value =“ new value”不起作用。
有任何想法嗎?
提前致謝。
發現您必須以必須覆蓋renderForm()的相同方式覆蓋getInputValue()
http://developer.yahoo.com/yui/docs/CellEditor.js.html
Ctrl-f查找getInputValue()YUI使用您指定的格式化程序自動格式化數據。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.