Frappe Cloud Support Partners Foundation Frappe School

What function is called when i load a list of a doctype?

I tried on load and validate function but non of them are working.
I test them using frappe.throw on _load function works only when i load a item from the list but i want to know the function that is called when the list is open