Unique ID on every row

2 posts, 0 answers
  1. Daniel
    Daniel avatar
    184 posts
    Member since:
    Feb 2009

    Posted 22 Feb 2018 Link to this post

    Hi, we're not using paging on one of our RadGrids and need to reduce the html output as much as possible. We've noticed that the RadGrid puts a unique ID on every row. Is there anyway to turn this off as it creates a lot of extra code over a few thousand rows.

    <tr class="rgRow" id="ctl00_ContentPlaceHolder1_rgDocuments_ctl00__0">




  2. Vessy
    Vessy avatar
    2039 posts

    Posted 26 Feb 2018 Link to this post

    Hi Daniel,

    The client-side logic of RadGrid relies heavily on these IDs and, I am afraid, there is no way do remove them without breaking the control's functionality. As a possible option (instead of reducing the html), you can consider applying the performance improvements suggested here:

    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