jQWidgets Forums

jQuery UI Widgets Forums Grid problem with the rowdetails height

Tagged: 

This topic contains 7 replies, has 2 voices, and was last updated by  Peter Stoev 11 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • problem with the rowdetails height #23562

    aravindra
    Member

    Hi

    I have nested grid(4 level girds) and I setting height of the child grid based on no.of rows to bind and setting row details height.It is fine for 2nd level grid binding.And I am try to set row details height(1st grid) again while binding the 3rd level grid , the 2nd level grid was resetting.

    problem with the rowdetails height #23563

    Peter Stoev
    Keymaster

    Hi,

    RowDetails are always with Fixed Height and it cannot be changed dynamically. That height can be set only during the Grid’s initialization through the “rowdetailstemplate” property.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    problem with the rowdetails height #23565

    aravindra
    Member

    But we are setting the rowdetails using ‘setrowdetails’ also right, which means dynamically setting rowdetails.

    problem with the rowdetails height #23568

    aravindra
    Member

    Problem with scrolls in nested grid.
    I don’t required scrolls in nested grid .I need to set the height of the child grids dynamically. For that I am setting height at three levels for child grid 1.setrowdetails height 2. Grid height 3. div[role=”rowgroup”] height . It’s fine for the 2nd level grid but when I am trying to setting these 3 things while binding the 3rd level grid I am not able to setrowdetails height.

    problem with the rowdetails height #23571

    Peter Stoev
    Keymaster

    Hi,

    Unfortunately, it is not possible to set the Row Details height after the Grid’s initialization.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

    problem with the rowdetails height #23672

    aravindra
    Member

    Any alternate solution for setting height dynamically to rowdetails..!!!

    problem with the rowdetails height #23875

    aravindra
    Member

    How can get the parent grid row index into child grid rows’s initirowdetails function..!

    problem with the rowdetails height #23880

    Peter Stoev
    Keymaster

    Hi,

    initrowdetails passes the following parameters:

    var initrowdetails = function (index, parentElement, gridElement, record) {

    “index” – the row’s index.
    “parentElement” – the parent HTML Element which hosts the row’s details.
    “gridElement” – the Grid’s HTML Element.
    “record” – JSON Object which contains the row’s data.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.