jQWidgets Forums

jQuery UI Widgets Forums Grid upate data without reloading grid and view

This topic contains 2 replies, has 2 voices, and was last updated by  jahnvi25 10 years, 3 months ago.

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

  • jahnvi25
    Participant

    we are using jqxgrid with group renderers.. so when user has some groups opened.. and some other stuff loaded based on values on grid cells.
    is there a way we can just update the data in the grid. but preserve everything else.. (just update the cell values..)

    FYI – grid is displaying object..

    Thanks


    Peter Stoev
    Keymaster

    Hi jahnvi25,

    When you update the Grid’s data, the Grid will have to render that data. If you have Grouping applied, the Grid will have to re-evaluate these groups. That’s why you will lose the expand/collapse states of your groups.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com


    jahnvi25
    Participant

    thanks for reply.. i can restore the states of expand and collapse.. but is there a way just to update cell values.. like
    source.localdata = newdata.
    grid.jqxgrid(‘updatedata’,’cellvalues’); then i can restore the expand/collapse states..(by restoring what is expanded before updating values)

    Thanks

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

You must be logged in to reply to this topic.