Hi
In listview, there is an ONLOAD trigger that I can use to set up some code
that will “read” rows that I select …
let selected_items = listview.get_checked_items();
Puting this together with perhaps a frappe.clientget_value or get_list, I can
fetch data …etc . I can even perhaps to a call to a client side server script
( type API ).
My final outcome, I want to use “formatter” ( in listview ) to change the colour
of a value, based on the data fetched in the ONLOAD code. The problem seems to be that, formatter runs when listview is envoked
and by the time it has finished, any code I put in the “ONLOAD” has not completed
the fetching of data i.e. it runs asychronously.
Is there a way to get formatter to run again ? ( I hope I have explained myself good
enough )