typescript - (angularjs ui grid)how to add an ng-click on the headercellclass? -


i want event in name whenever click it mean i'm in typescript angularjs. i'm using angular ui-grid.

i want make header cell, clickable

is there ways insert onclick event on headercell of ui grid

i don't want redesign template want add click event in headercell

do

<div ng-class="{ 'text-success': clicked, 'text-large': !clicked }"> 

on controller

$scope.setclass(new function(){     $scope.clicked = true; }) 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -