ui-grid icon indicating copy to clipboard operation
ui-grid copied to clipboard

Approach for sorting cellTemplate

Open AdityaJitu opened this issue 11 years ago • 2 comments

Hi, Using cellTemplate I am able to display multiple row entities. However, I would like to know the approach to sort the cellTemplates. As in this plunker

I just did a little modification to your plunker code to display Name in Show Scope column. After that I would like to sort the Show Scope column.

With Regards, Aditya Padhi

AdityaJitu avatar Feb 11 '15 05:02 AdityaJitu

To have the sort working, you need to give a field. Try this: http://plnkr.co/edit/wiKtqNlcxgWSGNkALsHZ?p=preview

PaulL1 avatar Feb 11 '15 19:02 PaulL1

Thank you Paul for the quick response. :)

AdityaJitu avatar Feb 12 '15 20:02 AdityaJitu