How can i place links in kendo data grid field

2 posts, 0 answers
  1. sudarshan
    sudarshan avatar
    2 posts
    Member since:
    Aug 2016

    Posted 12 Sep Link to this post

    Need your help please...!!!

    I need to place links in one of the field of a data grid. I have attached sample format (link.jpg).

    Output should be in this format: link.jpg

    I am getting the output: Myoutput.png

    Here is my code: I have tried with the below code but it is not displaying as a link.

    columns: [{
    template: "<a ui-sref='transaction_view/{{timePeriod}}'>TD</a>",text: " ",title: " ",width: "50px"},{
    field: "Market",
    title: "Market",
    width: "60px"
    },{
    field: "Success",
    title: "Success",
    width: "50px"
    },{
    field: "Error",
    title: "Error",
    width: "50px"
    },{
    field: "InQueue",
    title: "InQueue",
    width: "50px"

  2. Orlin
    Admin
    Orlin avatar
    22 posts

    Posted 14 Sep Link to this post

    Hello Sudarshan,

    Templates in Kendo UI do not use curly braces but the # symbol for template character. You can read more about templates in Kendo UI here: http://docs.telerik.com/kendo-ui/framework/templates/overview

    As for inserting links into grid fields, you can follow this dojo example:
    http://dojo.telerik.com/eTABe

    I hope this helps.


    Regards,
    Orlin
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. Kendo UI is VS 2017 Ready
Back to Top