You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the project and needed to show or hide some columns based on external config:
I can hide the row values simply by using , but I can hide the header.So, I guess I needed a custom header.html, I made it, but I cant pass custom values in order to hide the header value. So I modified the table code to pass a "config" object, just like this: (around line 636)
Hi, this is my first issue in github, so:
I downloaded the project and needed to show or hide some columns based on external config:
I can hide the row values simply by using , but I can hide the header.So, I guess I needed a custom header.html, I made it, but I cant pass custom values in order to hide the header value. So I modified the table code to pass a "config" object, just like this: (around line 636)
Now I can do this to hide the header with a custom header template:
<th ng-repeat="column in columns track by $index" ng-class="classToShow(column)" ng-style="column.style" ng-click="sortBy(column)" ng-if="!(column.config.hide() == true)">
What do you think?Should I create a pull request with this?
Thank you
The text was updated successfully, but these errors were encountered: