I have this code to create a quick edit view for an entity. I tried to set the parameters but the side panel is always there... I'm pretty confused.
From my understanding the modal edit view has a nested view called edit, that has some of those properties but they are not set to my values.
I want also to replace the 'Edit: Call' with my own text (or html) but I do not want to create a whole template just for this... any ideas?
Ps. Is the mode:'edit' option needed?
Here is a screen capture of what I see...
.
PHP Code:
var o = {
id: f_id, scope: f_scope,
mode: 'edit', header: false,
fullFormDisabled: true,
sideDisabled: true
};
this.createView('QuickEdit', f_view, o, function (view) {
view.nestedViews.edit.sideDisabled = true;
view.render();
}, true);
From my understanding the modal edit view has a nested view called edit, that has some of those properties but they are not set to my values.
I want also to replace the 'Edit: Call' with my own text (or html) but I do not want to create a whole template just for this... any ideas?
Ps. Is the mode:'edit' option needed?
Here is a screen capture of what I see...
.
Comment