Skip to content

Need to show concatenated fields in a ng-grid column. Not working. #723

@getjewelfast115

Description

@getjewelfast115

Hi,
I am new to Angular JS, I am trying to display items in a ng-grid. In a particular column, I have to concatenate two different model fields with a "-" sign. Can somebody please help me to have a solution for this?

I tried like this,
field : 'rollnumber' + '-' + 'name';
displayName : 'NameRollNumber'

But it is not working :( .

Thanks & Regards,
Jewel Jose

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions