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
Post a Comment