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
180
How to force UltraGrid to redraw a row
posted

Hi morning guys, I have a question about row redraw.

When I applied a ColumnFilter to UltraGrid and then hardcord change the cell value of this column, if the new value does not qualified for the ColumnFilter, this row will not hidden, still there. That means this row not auto-redraw, right? So, any suggestion please?

  • 469350
    Verified Answer
    Offline posted

    Hi,

    The row filters do not get re-evaluated every time you change a cell value. The main reason for this is that it would be pretty weird for a user to type something into a cell and then have the row disappear when the tabbed out of the cell.

    But you can refresh the filtering in code by calling the RefreshFilters method on the row. There is also a method by the same name on the grid's DisplayLayout, which will refresh the filters on all rows.