Question

is it possible to fire the beforshowform event in inline editing, because as per wiki i m not able to find any solution to call before show form in inline editing with option editformbutton:true . Any help is much appreciated

Was it helpful?

Solution

Inline editing don't display any form. So usage of beforeShowForm is not possible in inline editing mode.

You wrote about the usage of editformbutton: true. So you probably use formatter: "actions" with the property. In the case you do use form editing. You can specify any form editing options inside of editOptions option (see the documentation). So the usage of formatter: "actions" should be like below

formatter: "actions",
formatoptions: {
    editformbutton: true,
    editOptions: {
        beforeShowForm: function ($form) {
            alert("In beforeShowForm");
        }
    }
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top