RadGridView Virtual and RowCount

2 posts, 0 answers
  1. Curtis
    Curtis avatar
    73 posts
    Member since:
    Oct 2014

    Posted 11 Jun 2018 Link to this post

    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!




  2. Dess | Tech Support Engineer, Sr.
    Dess | Tech Support Engineer, Sr.  avatar
    4127 posts

    Posted 12 Jun 2018 Link to this post

    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. 

    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.
Back to Top