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
430
group by row update issue
posted

Hey all!

I am currently setting a group by row called Description programmaticly and hiding the group by box. My problem is im updating the description programmatically based on another incident on the form. I need the description to update and the groupby to re-sort after the description has changed. Currently the property inside the object is changing but not the group by. I have tried .ActiveRow.RefreshSortPosition() to no avail.

Thoughts?

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi,

    Is the row that you are updating the ActiveRow? It doesn't neccessarilyy make it active because you updated it.

    Even if it is, this may not work because refreshing the sort position of a single row will only affect that row. It won't necessarily affect the GroupByRow to which it belonged previously or to which is belongs now (assuming it changed groups).

    I think when you have grouping, you really need to refresh the sorting of the entire band and not just a single row.

    this.ultraGrid1.DisplayLayout.Bands[0].SortedColumns.RefreshSort(true);

Reply Children
No Data