Table height

I’m trying to reset the table height… in the beginning I’m having 50 rows and I do the math and get a certain value for the height to initialise the plugin with, but than, I’m making a data filter and I’m loading the new data in the table, and would like to resize the height of the table… and I’m not sure how.