Anatoliy
Anatoliy

Reputation: 321

jqGrid dataInit within 'edittype' => 'custom'

It seems that the dataInit function is not fired if the 'edittype' is 'custom'. Is it true?

Upvotes: 1

Views: 1860

Answers (1)

Oleg
Oleg

Reputation: 221997

You are right. In case of custom editing you must define custom_element function which is responsible for all actions during the creating of the element. So no additional calling of dataInit functions will be done: you should call it from your implementation of the custom_element if it is needed.

Upvotes: 1

Related Questions