I am working in a project where I have following scenario.
I want to create tabulated form at run time. see image below

I want a control like where user can drag and drop, provide number of rows and columns, labels of rows and columns and save it in mysql database.
Later other users will fetch this table from database and fill different column values.
Problem:
What will be the database schema for this dynamic data grid?
Is there any jQuery plugin to create such editable grid?