jQuery UI Widgets Forums Angular How to use routerLink in cellsrenderer funtion.

This topic contains 1 reply, has 2 voices, and was last updated by  Ivo Zhulev 7 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • praneeth
    Participant

    I am trying to use routerLink in my cellsrenderer.I tried multiple times except href nothing works.As these widgets are of Angular routerLink should work i think.Can anyone please help me.Thanks.

    var More = function (row, columnfield, value, defaulthtml, columnproperties) {

    return ‘<div>EDIT</div>
    }

    this.columns =
    [
    {
    text: ‘S.No’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘id’, width: 50, cellsalign: ‘center’
    },
    {
    text: ‘UserName’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘user_name’, width: 100
    },
    {
    text: ‘Email’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ’email’, width: 100
    },
    {
    text: ‘ServiceType’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘servicetype’, width: 50
    },
    {
    text: ‘Gender’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘gender’, width: 50
    },
    {
    text: ‘DateofBirth’, columntype: ‘textbox’, filtertype: ‘input’, datafield: ‘birthday’, width: 100
    },
    {
    text: ‘Action’, columntype: ‘textbox’,datafield: ‘id’, width: 215, cellsrenderer: Action
    }]


    Ivo Zhulev
    Participant

    Hi praneeth,

    Please make a simple example(fiddle) of what you are trying to achieve.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.