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

RadGridView Virtual and RowCount

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Curtis
Top achievements
Rank 1
Veteran
Curtis asked on 11 Jun 2018, 10:22 PM

I have a RadGridView control on my form.  I've set Virtual = True (as shown in a number of samples and the online documentation) but this line of code eludes me:

RadGridView1.VirtualMode = True  (works)

RadGridView1.ColumnCount = _dataSource.Columns (works)

RadGridView1.RowCount = _dataSource.Rows  (does NOT work.  There is no "RowCount" property!!!)

 

Am I using the wrong control here?  Was RowCount renamed?  Any advice would be helpful, thank you!

-Curtis

 

 

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 Jun 2018, 09:39 AM
Hello, Curtis,  

RadGridView does have RowCount property as it is indicated in the following help article: https://docs.telerik.com/devtools/winforms/gridview/virtual-mode/virtual-mode

I have prepared a sample project for your reference where it is demonstrated how to setup a RadGridView in virtual mode.

I hope this information helps. If you have any additional questions, please let me know. 

Regards,
Dess
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
GridView
Asked by
Curtis
Top achievements
Rank 1
Veteran
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or