CreateRow Not Call after some added rows

2 posts, 0 answers
  1. SAIED
    SAIED avatar
    1 posts
    Member since:
    May 2017

    Posted 22 May 2017 Link to this post

    Hello
    Using the Event Line Create Row in one of the cells in the grid code is written Grid View then called event data taken from the database. If the number of records about the event call will not be more than 25
  2. Hristo
    Admin
    Hristo avatar
    1513 posts

    Posted 22 May 2017 Link to this post

    Hello Saied,

    Thank you for writing.

    The CreateRow event is exposed to allow the creation of custom rows and it should not be used for performing database queries. Furthermore, RadGridView is virtualized and the event will be raised whenever a new visual row element needs to be created. Additional information on the UI virtualization is available here: http://docs.telerik.com/devtools/winforms/gridview/fundamentals/ui-virtualization.

    Please consider moving the logic for accessing the database elsewhere. If it fits your local setup you can consider handling the Load event of the form.

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

    Regards,
    Hristo
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 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