Is there a way to reset the height of a table once new data is loaded into it?
When filtering data, if no results are found, I’d like to reset the table height.
Is there a way to reset the height of a table once new data is loaded into it?
When filtering data, if no results are found, I’d like to reset the table height.
currently, there is no way to set a default height value. You could try to count the number of rows and then multiply it by some set row height value.
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.
As mentioned above we do not have an ability to easily reset the height. You can use a workaround (pretty buggy http://jsfiddle.net/fvy8Lnk2/) with changing the height but you cannot reset it.
Actually, the updateSettings
part is exactly what I needed.
Thanks
Oh, then I am happy that we have mentioned it.
Have a great day @arthur.kirkosa