Clickable image in GridView cell

2 posts, 0 answers
  1. Rehmak
    Rehmak avatar
    4 posts
    Member since:
    Aug 2013

    Posted 28 Sep 2017 Link to this post


    I want to put a clickable image in GridView cell, that button should have a button click event attached to it and i want to get that cell value in click event.

    And i not only want a image in cell but also text from datasource,


  2. Dimitar
    Dimitar avatar
    2109 posts

    Posted 28 Sep 2017 Link to this post

    Hi, Rehmak,

    The following article shows how you can add an element to a cell: Creating Custom Cells. In your case, you can add two LightVisualElements (one for text and one for image) in a StackLayoutPanel. Then you can use the Click event of the LightVisualElement to handle your requirement.

    I hope this will be useful. Let me know if you have additional questions.

    Progress Telerik
    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