Hi Kavitha,
can you please tell us more about your environment like version of Jaspersoft, OS of Studio and Server.
Do you want to use the Detail Band to create a Table or do you want to use the Table from the Palette?
Can you provide a simple example and upload it as a .jrxml (no copy&paste of code), so we can try to find a solution.
THX TT