New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide specific columns #409
Comments
did you try using header-class="myHideClass" attribute? |
It works with this: ...
<table ng-table="tableParams" ...
...
<td ng-show="tableParams.myShowFlag">
... ...
getData: function ($defer, params) {
params.myShowFlag = false;
...
}
... |
Thank you very much zdila this work for me. |
I wanted to hide a column, but I wanted to extract it into a CSV with ng-table-to-csv, so I used @zdila's solution and, as suggested by @zeitos, I have added an header-class to hide the header.
|
It seems that we cannot hide specific columns, like what If we have an array that contains 4 properties and we want to display only three while hiding the fourth one dynamically based on $watch or some other sort of tool.
The text was updated successfully, but these errors were encountered: