How can i place a table and template side by side in the main window. Please note that i cannot compress the main window and place the template in the secondary window,as per design requierment.
You can't actually.
You should try to design your development to use a single template or single table and divide the space based on your requirement .
Can you put the template in a secondary window and place it on top of the main window? Or does that conflict with the requirements as well?