how to make width of extended data table equal to addition of width of all the columns visible at that point of time,because extended data table allows us to add or remove rows depending on requirement.

so the table width(or the non-scrollable container width) ideally should not be limited by precise size in pixels, or initial columns width to be defined in the way that them will be lesser in any time(maybe recalculated in %).