0
是否有一種方法可以顯示用於單元格和表單編輯的不同自定義格式程序?目前我使用的電池,這是在ColModel定義如下用於內聯和表單編輯的不同自定義格式化程序
formatter:functionName
自定義格式,但它不編輯表單上工作。
是否有一種方法可以顯示用於單元格和表單編輯的不同自定義格式程序?目前我使用的電池,這是在ColModel定義如下用於內聯和表單編輯的不同自定義格式化程序
formatter:functionName
自定義格式,但它不編輯表單上工作。
我認爲在使用自定義格式化程序時存在誤解。它將用於填充網格體,而不用於任何編輯(單元格,內聯或表單編輯)。可能需要執行custom editing control(edittype: "custom"
和editoptions
,custom_element
和custom_value
回調函數})。你應該更確切地描述你需要實現的東西。
有關實現自定義編輯控件的更多示例,請參閱the answer,this one和this one。
謝謝!只是一個小小的更正:「edittype」而不是「editable」 – ymakux
@volocuga:不客氣!也感謝你指點我的打字錯誤。 – Oleg