Comments (3)
Why you can't use something like this?
%script(type="text/ng-template" id="table/header.html")
%tr
%th.header(ng-repeat="(i, column) in columns" ng-class="{sortable: column.sortable,'sort-asc': params.sorting[column.sortable]=='asc', 'sort-desc': params.sorting[column.sortable]=='desc'}" ng-click='sortBy(column)' ng-show='column.show(this)')
%i(ng-class="'my-icon' + i")
from ng-table.
Because I got some entries with text, some with icons. Additionally, the icons have sometimes additional classes.
from ng-table.
I implement custom header, I think it resolved this issue, look this example https://github.com/esvit/ng-table/blob/master/examples/demo18.html
from ng-table.
Related Issues (20)
- Trigger getDAta on click NOT on key press HOT 1
- hai, i could not able to do any functionalities in ng table (sorting, pagination,filter) how to i work,
- Having ng-table as element directive with child element as table HOT 1
- Having ng-table as element directive with child element as table
- data loading animation while waiting data to be fetched from server HOT 1
- error TS2688: Cannot find type definition file for 'angular-mocks' HOT 1
- ng-table watchs isDataReloadRequired() erroneously
- Load Filter options dynamically
- Add range slider and selectize filters HOT 1
- How to get table row in controller? HOT 1
- 'Real world example' is simple demo
- Error on PlaceHolde on Filter
- Do you have plans to migrate ng-table to Angular X? HOT 1
- Custom sorting property for groups
- Number of displayed rows is limited by number of columns in ng-table-dynamic HOT 1
- Does not compile
- Demo site ng-table.com broken when using https HOT 1
- Ngtable - data show hide columsn
- not sorting polish alphabet
- angularjs ngTable pagination showing all the results in a single page and data is loading every time on same page using API calls
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-table.