Dear Community,
How to Disable Kanban View in Address Doctype.
Thanks in Advance
That for, you have to apply the client script for list.
Apply To → List
frappe.listview_settings['Address'] = {
refresh: function(listview) {
setTimeout(() => {
const kanbanView = document.querySelector('[data-view="Kanban"]');
if (kanbanView) {
kanbanView.style.display = 'none';
}
}, 100);
}
};
Thanks for the Response