RadGrid virtualization and Editing

4 posts, 0 answers
  1. Atul
    Atul avatar
    3 posts
    Member since:
    Jul 2015

    Posted 29 Jul 2015 Link to this post

    Going through the radgrid documentation there is a limitation that we cannot use the BatchEdit or inplace Mode with virtualization.

    What is the alternate or workaround to that?

    My client do not want to use paging but want to provide the editing feature on the GRID which has thousands of records. Additionally performance has to be handled as number of records in the GRID can be of order of 000's so definitely need to use virtualization or paging.

    Any suggestion on to get around this and achieve this functionality.

  2. Eyup
    Admin
    Eyup avatar
    3690 posts

    Posted 30 Jul 2015 Link to this post

    Hi Atul,

    In order to achieve Editing in this scenario, the best approach would be to use Paging. The browsers themselves have hard time handling larger table elements with greater count of cells. Therefore, I highly suggest that you enable Paging and load only a portion of the records at a time.

    Regards,
    Eyup
    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
  3. Atul
    Atul avatar
    3 posts
    Member since:
    Jul 2015

    Posted 30 Jul 2015 in reply to Eyup Link to this post

    Thanks Eyup.

    But, the requirementi have is that i want to show all the records on same page not on multiple pages. And aswell provide add/update/delete funtionality on records. So is there a way to achieve that? May be some workaround or some other solution you can suggest.

     

    Regards

    Atul Goel

  4. Eyup
    Admin
    Eyup avatar
    3690 posts

    Posted 03 Aug 2015 Link to this post

    Hello Atul,

    If you insist of disabling paging, there is only one kind of optimization if you need to use editing also - in case you are using GridTemplateColumns, keep their ItemTemplates simple and use light controls:
    http://www.telerik.com/forums/radgrid-becomes-too-slow-when-binding-over-100-records#qxa2LUwVA0WYQpqmpwjrTg

    Generally, Batch editing renders only a single control for editing purpose per column:
    http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-batch-edit-mode

    Modern browsers should be able to function with several thousands of records with no problem. Only old versions of IE may show noticeable lagging.

    Regards,
    Eyup
    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
Back to Top