Hi @PrasantaLenka,
You can do multiple things you can set a boolean with each button and based on that certain workflow will be invoked let’s say we have clicked on a button which set boolean Var1, Now if Var1 is True then flow A will run(This is just an example you can do much more than that).
For printing the datatable go through these thread.
Hope it will help you.
Best!!
Anmol