table as a custom widget

How to add table as a custom widget and for the table data will come from database(MYSQL) and for last column I want add button. If I click on the button respective row ID need to invoke.Please help me Thanks in Advance

Your question looks like is a duplicate of another one you create https://community.bonitasoft.com/questions-and-answers/get-custom-widget-table

If you confirm that this is an actual duplicate, please avoid that you will not get help faster.