This is a migrated thread and some comments may be shown as answers.

RadGridView show extra empty rows

1 Answer 217 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chian Yuh
Top achievements
Rank 2
Chian Yuh asked on 07 Nov 2015, 05:12 PM

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]);

            }

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 09 Nov 2015, 12:53 PM
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 ?

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
ravindra
Top achievements
Rank 1
commented on 08 Sep 2023, 12:03 PM

Hi @Dess., I have a RadGridView in which I have for Ex. 350 items but I show few for ex.30 based on visibility. When I scroll first time the grid last rows are empty and re-scrolling will solve the issue. Why the rows become blank when we scroll first time ?

Do we have solution for this?. I have tried EnabledRowVirtualization=False , GroupRenderMode=False. If any solution please share here. 

Dess | Tech Support Engineer, Principal
Telerik team
commented on 11 Sep 2023, 10:53 AM

Hi, Ravindra,

I would like to note that RadGridView from the Telerik UI for WinForms suite doesn't offers GroupRenderMode and EnabledRowVirtualization properties. Since this forum is relevant for the WinForms suite could you please specify what is the exact Telerik product that you are currently using?

Please correct me if I am wrong, but I suspect that you need assistance from the WPF community which can be found here: https://www.telerik.com/forums/wpf?tagId=764 

Tags
GridView
Asked by
Chian Yuh
Top achievements
Rank 2
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or