adapt-strap

Adapt-strap/angular dynamic table column

浪子不回头ぞ 提交于 2020-01-17 07:19:24
问题 I was having a look at the adpt-strap table lite and was playing around with it. here is the JSfiddle that I was playing about with: http://jsfiddle.net/cx5gm0sa/ What I was trying to do and I was wondering if it is possible is to try and dynamically hide/show a column. The code I have added consists of $scope.showColumn = true; (you can see the value of this on the html page, I am printing it out at the top). When you click the buy button on any row the variable gets set to the opposite of