How to achieve this
Click on the hamburger button (three lines menu button on top left side) to hide and show sidebar navigation.
Hi @mijan1373,
If DPP Content is a custom doctype then go to the doctype and select the DPP Content Doctype and then go to the Form Setting section and set it.
Please check it.
Thank You!
2 Likes
Or maybe another option you can use settings in the Role to hide or show the sidebar.
But it generally applies to all Doctypes.
This is disabling Side Bar and Timeline, both.
Please let me know the route to reach this Form.
Hi @mijan1373,
Only have an option, please apply the client script for it.
frappe.ui.form.on('DPP Content', {
refresh: function(frm) {
$('.form-sidebar.overlay-sidebar.hidden-xs.hidden-sm').hide();
}
});
Then reload and check it.
Thank You!
3 Likes
Thank you very much.