Moving values of one table row to next table

1> i have two tables ,table1 and table2 ,I need to design an application such a way that the selected row of table 1 when clicked should get displayed in table 2 .
2>how to call a custom table suppose i have a class Table with empty constructor i will pass arguments like Table(pagination) it has show table with pagination ,
similarly Table(lazyloading) has to show lazy loading table similarly Table(pagination, Lazy loading,search) must show all three properties ,
please help me to solve these above mentioned problems .
11937.docx (13.5 KB)