Create Task Form - Cascaded dropdown to dynamic edit grid schema


I am trying to create a form task for invoice processing as shown below.

The columns of Line items, which are edit grids, are dynamic schema, so I deliver a dynamic data table.

When there is a tax code in the data table, I would like to include the tax code column in a dynamic drop-down type. Is there a way to do this?