@OmarJaber this is working but it works only during setup,onload, refresh events my requirement is i need this field based on some conditions suppose from stock entry pupose and stock entry detail warehouse selected so if there is workaround so that I can use df even in child table fieldname events it would be very helpfull for me
I’ve struggled with this too. The best solution I found came from this post. Using Sagar’s example, I’ve been able to trigger on refresh() events, and hide/show columns using some logic.
i was create child table. That child table is present in multiple doctype , i want to hide dose% field in fg doctype only. (dose% is in_list_view == 1)
I think, you should implement a client script for this scenario. When using this child table multiple times and setting the eval condition, it affects all doctypes, so developing a client script becomes necessary. However, please note that you cannot configure the list view using a client script; it only allows you to manage hidden or read-only fields. This can be a bit complex. Therefore, I recommend checking the forums for a reference or further guidance.