how to make ajax call and new data rendering in model on cell click in datatable

how to make ajax call and new data rendering in model on cell click in datatable

GE PowerGE Power Posts: 10Questions: 2Answers: 0

On click on row cell in datatable, how to make ajax call and use ajax response data to show as table in model.
Please suggest

Replies

  • allanallan Posts: 63,480Questions: 1Answers: 10,467 Site admin

    You can listen for the select event to know when a row has been selected. You would then make your Ajax request as with any other normal Ajax request and use the API of whatever modal library you are using to show the modal.

    Allan

This discussion has been closed.