0

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.

DisplayName
  • 3,093
  • 5
  • 35
  • 42
ymakux
  • 3,415
  • 1
  • 34
  • 43

1 Answers1

1

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.

Community
  • 1
  • 1
Oleg
  • 220,925
  • 34
  • 403
  • 798