jQWidgets Forums

jQuery UI Widgets Forums Grid Dynamically Resize Rowdetails with SetRowDetails

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

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author

  • gombbc
    Participant

    JQWidgets Team,

    We have a scenario where the rowdetails will be grid containing rows relevant to the parent row. These rows are added dynamically. You can think of the parent row as a delivery location and the child grid as containing a row for each order to ship to that location with a max limit of 3 orders. Users would like the ability to remove any of these orders if they accidently add it to the wrong location.

    Our purpose:
    Currently, expanding and collapsing work as expected with a fixed width. Having the ability to adjust the width dynamically would allow us to resolve the last hurdle (i.e. empty space in the child grid to account for “possible” orders);

    Our possible solution:
    After reading through other forum entries i came accross one discussing “setrowdetails” which was to be used before rowdatatemplate was made available in later versions. We believe this feature may allow us to build a dynamically resizing child grid in the rowdetails.

    We have some remaining challenges with this solution. (currently, our app does not seem to expand/collapse as this sample in jsFiddle: http://jsfiddle.net/gombbc/w4M5X/ (click on the first row this mimics what we are hoping to do; except more complex b/c of grid with selection features etc.)

    Why ask the question:
    Other users of jqwidgets have asked a similiar question with the response that rowdatatemplates is fixed. So, our concern is that we are doing something wrong here.

    Thoughts? Suggested Examples would be greatly appreciated.

    Thanks, Terry


    Peter Stoev
    Keymaster

    Hi Terry,

    The Row Details are with fixed height in the current version and can be with fixed height only. The “setrowdetalis” method which you found here is deprecated and will be removed in some future version of jqxGrid. For now, we keep it only for backwards compatibility for users who used it before.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    gombbc
    Participant

    Peter,

    Thanks for your response! Is there a way i may keep track of what is deprecated?

    Again, appreciate your response!


    Peter Stoev
    Keymaster

    Hi Terry,

    Yes, you can keep track. If it is not available in the widget’s API web page, then it is deprecated and we do not suggest you do use API which is not documented.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/


    gombbc
    Participant

    Thanks! To your earlier point about the method being removed, when that occurs, it will be mentioned in the “release history”, correct? http://www.jqwidgets.com/jquery-widgets-documentation/documentation/releasehistory/releasehistory.htm.

    If not, I’d really like to recommend that it be added.

    We no longer plan to use the method but want to ensure we understand how such changes are communicated.

    — Terry


    Peter Stoev
    Keymaster

    Hi Terry,

    Thanks for the update. Yes, the library changes are usually published on that page.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

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

You must be logged in to reply to this topic.