jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Variable row height in subgrid
This topic contains 14 replies, has 4 voices, and was last updated by Peter Stoev 10 years, 11 months ago.
-
Author
-
Hi Peter
I am having issues in showing variable length data in subgrid.if data is more then the rowdetails div width its not shown and can’t be scrolled as well.Any workaround for it
Hi shivanidixit,
The following shows how a nested Grid is supposed to be created and initialized: http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/nestedgrids.htm?classic
The details height is a fixed number specified in the rowdetailstemplate definition and cannot be changed after the initialization.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comSo i need to know the total length of my data beforehand.If its variable …there is no way to show it fully
Hi shivanidixit,
The Grid supports scrolling and you can set up your sub grids to be scrollable. You can also set them up to be pageable grids, but without setting the autoheight property to true.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comPeter
I am not having nested grid.I am dynamically rendering HTML in the rowdetails area.I don’t want to fix the height of rowdetails area and want it to be changes according to the rendered HTML.
I read somewhere that dynamic rowdetails height is not supported and has to be a fixed number.Is the functionality not supported now also?
Hi shivanidixit,
Dynamic height for rows details has never been supported.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comHi Peter,
Could you help us in overcoming this kind of situation. Atleast can we have scrollbar for rowdetails area?
Hi kuberasamrat,
In the row details area, you can display a content with fixed width and fixed height. That could be a DIV tag or a widget. You may set the DIV tag’s style=”overflow: auto;” and it will be scrollable.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comIs now a solution aviable for this problem?
Hi matzep94,
There is no problem. The functionality works as it is designed and by design. The height of a details row is always fixed Number as shown in the Nested Grids and Row Details demos.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comSo there is no option to make grids that looks like tree grids?
Hi matzep94,
This topic is about variable Row Height of Nested Grid. How is this related to the TreeGrid which does not support Nested Grids?
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comoh sorry
I haven’t seen that there is a new treegrid widget since 3.1.0 because we’re currently running 3.0.4 – i now take the new tree grid widgetHi matzep94,
No problem. Hope you enjoy the TreeGrid.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com -
AuthorPosts
You must be logged in to reply to this topic.