Bound Grid and Unbound Columns

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

    Posted 11 Jun 2018 Link to this post

    I realize this topic has been covered several times - So I hope I'm not spamming the wrong location.


    In another thread of a similar topic, the question was "How do I populate my unbound cells when using a bound grid where my unbound cell is based on data found in one or more bound cells?"  The answer was simple and expected:  Loop thru all of your rows and set the cells.


    Is there a way to do this with a little more elegance?  A way to populate these unbound cells WHILE the binding is occurring?

    The reason I ask is also simple:  I have millions of rows.  Having to loop thru a 2nd time to populate a single, unbound column takes a considerable amount of time and since getting the binding to complete already takes a fairly long period, I was hoping to not have to do the whole loop thing...might as well update the unbound column as the rows are being created right?


    Anyway if this is possible, I'd appreciate being pointing in the correct direction!



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

    Posted 12 Jun 2018 Link to this post

    Hello, Curtis,  

    By design, RadGridView offers the DataBindingComplete event which is fired after data binding operation has finished. However, it is necessary to iterate the Rows collection and populate the unbound cells accordingly.

    According to the provided information, it seems that you have to deal with a great amount of rows. That is why I would highly recommend you to use our RadVirtualGrid. It is a grid component developed on top of Telerik Presentation Framework which provides a convenient way to implement your own data management operations and optimizes the performance when interacting with large amounts of data. Additional information is available in the online documentation:

    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