In java itext5 there is function table.setWidths() hence we can modify column widths on fly. In itext7 table.setWidths() is not there and new Table(colwidths) have to pass in constructor this is fixed and cannot modyify on fly.Please let me know the procedure to modify table widths like itext5.
Itext5
Table table = new Table(3);
float[] widths=new float[3.0,4.0,5.0];
table.setWidths(widths);
what is the above code itext7?