I am fetching some dynamic data depending upon some condition and getting back the datas as table data using datatable.

in the picture above the filtering conditions are in the first row and I am getting back the result as the table from the second card in the picture.

I want also open the above form and show the field value depending upon the response data. But I don't know how to show success function within datatable.
Here is the code for datatable fetch.
and this is the old code through which i was opening the form and showing the data. How can I do the same now using datatable? Thanks for the help in advance.

