change rowcount

2 posts, 0 answers
  1. Jhjang
    Jhjang avatar
    2 posts
    Member since:
    Dec 2014

    Posted 29 Mar 2015 Link to this post


    I have made codes to show live data in RadGridView.

    So, I set the VirtualMode property to true, and set ColumnCount.

    But, I can't set RowCount, because I don't know how many data will be shown.

    I set the RowCount to 0. When I received data, I increased RowCount( ex. RowCount++)

    I know this code is wrong, because occurred exception.

    Please let me know how to show live data in RadGridView.
  2. Hristo Merdjanov
    Hristo Merdjanov avatar
    664 posts

    Posted 01 Apr 2015 Link to this post

    Hi Jaeyong,

    Thank you for writing.

    Although you have already received an answer from me regarding the same question in a support ticket I will post my reply here as well so that the community can benefit from it.

    To me it looks that a RadGridView in unbound mode could do the job. Please note that the Virtual Mode of the RadGridView is primarily intended for performance optimization. The rows count needs to be set in the beginning.

    I have prepared an example project which is demonstrating how data can be populated in unbound grid. Please refer to this article for more information. Besides my project I am also sending you a gif file showing how the grid looks on my end.

    I hope this information helps. Should you have further questions please do not hesitate to write back.

    Hristo Merdjanov

    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft R3 2016 release webinar banner
Back to Top