tal azouri
tal azouri

Reputation: 53

How to subscribe to primeNg event

I am using angular 2 and primeng 2.0.0 and working with their DataTable component. I want to subscribe to onColumnResizeEnd() in my component.

How can I subscribe to the event? I tried to subscribe as usual but I don't have the event parameter.

Upvotes: 1

Views: 814

Answers (1)

xxxxx
xxxxx

Reputation: 1984

You can subscribe to the event like below:

<p-dataTable (onColResize)="someFuncInComponent($event)" /> 

Upvotes: 4

Related Questions