Row's Custom Method Link Query not Working

After further digging, I have found that while the query does not work when editing the field in the grid row, the query works fine in the larger, expanded view. Is there a way to fix it?

It also seems that the datepicker object for the Delivery Date fields are different between the row and this expanded view…currently investigating the difference.

Update: Filter Links Data in Child Table - #2 by PrashantPatil
This solution no longer works.

Solution:

This solution, as seen here:

seems that it must be done either before or during setup().

Thanks for reaching out @snv!