-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dynamic size for dynamic content #3
Comments
Thanks for creating this plugin, everything seems to be working fine now, I'm loven it! The only thing is left, is the content with dynamic height, Just confused on how to pass different sizes for different content height, based on the content. (like some rows would have lots of text and some rows would have less text). so height is dynamic (less: any suggestion on this? |
If its just plain text any you depend on the renderer where it put linebrakes its gonna be extremely hard. Get getItemSize is meant for a scenario where you can calculate the height of an item up front. e.g. you know Kamil Pękala Dnia 06.05.2016 o godz. 02:49 Basit [email protected] napisał(a):
|
Ya I was afraid of that as well too. Just was hoping you might know some solution of getting it done, since even this solution you implemented is out of the box solution. Anyway, I will see if some magical way somethings pop-up lolz "aabra ka dabra" Thanks for your support and thanks for this great plugin. |
I have text content for each row, which can be long text or short for each row.
I have read, we can set
size:getItemSize
asgetItemSize
method to change dynamic method for each row.The only question I have in this, how we get different height size for text content? do we use
jQuery,height()
method or is there some other way for knowing what actual size is for the row? or is there auto size finder?The text was updated successfully, but these errors were encountered: