Refresh a data table with new data from ajax call which grab new data every time with different id

Refresh a data table with new data from ajax call which grab new data every time with different id

sampletestsampletest Posts: 2Questions: 1Answers: 0

I have a data table which loads data with a button placed on every row of another data table. i have passed data_id with ajax url like url?data_id + data_id. when I click on a specific row button it display data against that id in another data table.Problem is that data remain same on every row button click. it is not changing according to the data_id. Please give me some idea how to change data every time a button is click based on data_id. Thanks

This discussion has been closed.