jQuery UI Widgets › Forums › TreeGrid › TreeGrid doesn't show last row's some parts
This topic contains 5 replies, has 2 voices, and was last updated by Hristo 3 years, 11 months ago.
-
Author
-
I’m using TreeGrid for commenting system and when I load all the items, the last row’s some parts (shown in the screenshot) does not seen even with the scrollbar. I also tried to manipulate the scrollbar to fit the height, but I can’t find the exact number to fix scroll bar to fit my content. I have the following questions :
1- How can I fit the content?
2- If I have to manipulate the scrollbar to fit the content, how can I calculate the “.jqxScrollBar(“max”)” value?
Best regards.
Hello alperdincer,
Please, provide us with one simplified example that demonstrates your case.
After I reproduce it I will try to provide you a solution or I will create a work item.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi Hristo,
I created a sample view at https://jsfiddle.net/alperdincer/w7cnqxva/35/
As far as I’ve checked, when I add images to cellRenderer as it is in the sample, scroll is not working. When I remove the images, It is working.
Please let me know if there are any questions for me to fix this.
Best regards.
Alper.
Hello Alper,
Thank you for this example.
About the jqxTreeGrid it is responsive and you could set itswidth
andheight
properties to"100%"
value to take the whole content.
I would like to mention one very important thing the initialization of the inner widgets in the jqxWindow should be implemented in theinitContent
callback.
Also, I try to simplify your scenario and it seems to work fine:
http://jsfiddle.net/5r632tnw/
On the other hand, with more options as in your case it behaves differently it seems this needs more time to render all items:
http://jsfiddle.net/jvd05z8L/
One more thing, that I would like to suggest you to try to use therowDetailsRenderer
callback.
Please, take a look at this demo.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.comHi Hristo,
Thanks for the answer. I also found a solution for my scenario. When I remove “img” tag and add them as “div” background then the view is seen as rendered as it should be. I don’t understand why it is happening, but “img” tags are the problematic part.
Best regards.
Alper.
Hello Alper,
Thank you for these details.
It will be useful for the community.Best Regards,
Hristo HristovjQWidgets team
https://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.