Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
DataBinding vs GroupBy
posted

Hi,

By default at runtime,  groupBy ultraGrid cames, after databinding, with all goupBy rows collapsed. If I expand some groupBy rows and I refresh my bindingSource (because new data cames), all the groupBy rows will automaticlly be collapsed. Is it possible to desactive ? I want to keep the the expanded rows expand and the collapsed rows collapse otherwise is really confused for the user experience.

 Thanks!

Gabriel

  • 469350
    Offline posted

     Hi Gabriel,

    What exactly do you mean by "refresh my bindingSource". It sounds to me like whatever you are doing is causing the BindingManager to send a Reset notification to the grid. In this case, the grid has no choice but to throw away all existing rows and columns and re-bind to the new data source. So it cannot maintain the expanded state of the rows, since those rows no longer exist.