Reputation: 3495
Is there a way to show a different custom formatter for cell and form editing? Currently I'm using a custom formatter for the cell, which is defined in the ColModel as following
formatter:functionName
But it does not work on the edit form.
Upvotes: 0
Views: 1239
Reputation: 222017
I think there are misunderstanding when custom formatter will be used. It will be used for filling the grid body and not during any editing (cell, inline or form editing). It can be that you need to implement custom editing control (edittype: "custom"
and editoptions
with custom_element
and custom_value
callback functions}). You should describe more exactly what you need to implement.
See the answer, this one and this one for more examples about implementing of custom editing controls.
Upvotes: 1