How to hide toggle sidebar elements in list view

Hi @anjalipv,

Please apply the client script for the listview.

frappe.listview_settings['Your DocType'] = {
	refresh: function(listview) {
        $('span.sidebar-toggle-btn').hide();
        $('.col-lg-2.layout-side-section').hide();
	}
};

Thank You!

1 Like

thank you