Access Column name on itemdatabound

2 posts, 0 answers
  1. Andy Green
    Andy Green avatar
    376 posts
    Member since:
    Aug 2008

    Posted 26 Jan 2018 Link to this post



    I have a need to test the column name. Is it possible in the itemDatabound event to get to the actual column name that is being bound to?


    I'd expect this to change with each cell, or does the bind happen per row in one go?



  2. Marin Bratanov
    Marin Bratanov avatar
    5316 posts

    Posted 29 Jan 2018 Link to this post

    Hello Andy,

    The entire row is bound at one go, meaning that the ItemDataBound event is raised for each row. The following article explains how you can access cells and data for individual columns (the easiest way is to use the UniqueName of the column):


    Marin Bratanov
    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