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
65
Is there any Event when no of rows will be changed of a wingird
posted

Hi,

I have a base grid class. I used that in different form, now when any form with the grid will be load I want to show no of records in a label, that I can do. My another requirement is when user will filter, that label will show filtered record number.

I want to do these in a event. So please help me regarding the same.

 

Thanks a lot.

Samaresh

  • 5520
    posted

    i don't know if i understand right but i guess this is what you want:

     private void ultraGrid1_AfterRowFilterChanged(object sender, AfterRowFilterChangedEventArgs e)

            {

                label1.Text = ultraGrid1.DisplayLayout.Rows.VisibleRowCount.ToString();

            }