RadGridView show extra empty rows

2 posts, 0 answers
  1. Chian Yuh
    Chian Yuh avatar
    3 posts
    Member since:
    Jul 2015

    Posted 07 Nov 2015 Link to this post

    I use for loop to loop 100 records and bind the DataTable(certain fields only) to the gridview. When I saw the gridview, there is a lot of empty rows will show at the bottom of last records. Also, the scroll bar still can scroll for the blank rows. I also set the page size as 20 to make the maximum rows of a page to 20 rows. Please find the attachment(see the red color box for the empty area) for the reference.

    Code:

        for (int z = 0; z < 100; z++)
                {

                    this.radGridView1.Rows.Add(table.Rows[z][1], table.Rows[z][2]);

                }

  2. Dess
    Admin
    Dess avatar
    1601 posts

    Posted 09 Nov 2015 Link to this post

    Hello Chian Yuh,

    Thank you for writing.

    Following the provided information, I was unable to reproduce the issue you are facing. I have attached my sample project. Could you please specify the exact steps how to reproduce the problem? Do you perform any other customizations at run time?

    Alternatively, feel free to modify the project in a way to reproduce the experienced issue and get back to me with it in the support ticket that you have opened on the same topic so I can investigate the precise case. Thank you in advance. 

    I am looking forward to your reply.

    Regards,
    Dess
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top