I have created a report with jasper reporting tool and showing it in our web application with angular 5 and rest api. While generating report using jasper tables, if I am trying to hide columns dynamically, table width not automatically fit to page. Please check below (img2). In this I need to fit that 2 columns completely to this page(like 100% width).. Could you please support me to resolve this issue? I am attaching the report screen shot along with this.
**img1 - with complete columns**
**img2 - dynamically hide other columns except Patient and Brand columns**