jQWidgets Forums

jQuery UI Widgets Forums Grid groupsrenderer long text

This topic contains 2 replies, has 2 voices, and was last updated by  Finnigan 12 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • groupsrenderer long text #12089

    Finnigan
    Member

    Hi, I’m using a jqxGrid with grouping and a grouprendering function in which I call some custom summarizing functions to make a long string that summarizes many of the fields from the grid. The renderer makes the string fullfill more than one line instead of using the gigantic row (gigantic because it has an horizontal scroll) and the problem is that the height of this grouping row does not grow accordingly to the needed lines.
    Is there any way to set the height of the grouping rows or to use all the row’s width?

    There is also another issue with the grid. The grid is paginated and the calculations I made take the data of the grouped rows in the current page instead of from all the rows grouped by the same value and field.
    Is there another parameter for the groupsrenderer function that lets me do the maths having the original data (not the paginated data)?

    Thank you for your time. Hope you can understand my english.

    groupsrenderer long text #12093

    Peter Stoev
    Keymaster

    Hi Finnigan,

    – Unfortunately, It is not possible to customize the height of a specific row.
    – The data in the current page displays the groups for records from 1 to 10 or from 11 to 20, etc, depending on the page’s number. If you want to retrieve all rows when the grid is not in virtualmode(in virtualmode, the data is loaded on demand), use its getrows method.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    groupsrenderer long text #12119

    Finnigan
    Member

    Thank you for your quick answer Peter. About the first case, can you think of any alternative solution? Here’s an image of how it looks like:

    As you can see, the group has a lot of fields, and there are many more that aren’t shown. The best solution would be that it behaves as a normal row and not show it’s fields as a long string but as columns, but I guess I can’t do something like that. Can you think of any alternative solution? I would really apreciate that.

    About the second case, thanks for the suggestion, it was very helpful.

    By the way, is there any page where I can see which are all the parameters that may recibe the function properties such as groupsrenderer?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.