emptyItemClass for Kendo UI Sortable for Angular

86 views Asked by At

I am probably missing something basic but I cannot seem to get emptyItemClass to be applied to a kendo-UI sortable component for angular 2.

I have also tried using emptyItemStyle, and get the same result.

<kendo-sortable [data]="viewColumns" itemClass="itemClass" emptyItemClass="emptyItem" activeItemClass="activeItemClass"
[emptyText]="'No columns selected'" (dragEnd)="doneDragging($event)">

In this above code snipit itemClass and activeItemClass work, but emptyItemClass does not.

Here is a StackBlitz of my problem

1

There are 1 answers

1
ps0604 On BEST ANSWER

You need to remove the brackets in your example and also use ViewEncapsulation.

Working StackBlitz