Comments (6)
It might be worthwhile to consider adding some of these items to the README.md. As awkward as this is to say, it wasn't obvious to me that FontAwesome and Bootstrap we're required to get this to work.
from ng2-table.
Do you have FontAwesome installed ? As it renders an icon in the th when you sort up/ down (there is no icon when not sorting)
from ng2-table.
Was going to open a new issue/feature request, but it seems like this only works with font-awesome, and the generated icon can't be configured - am I right? If so, I think this would be a really useful feature, to avoid the dependency on bootstrap and font-awesome. I for example, would like the icons to be generated as <i class="material-icons">arrow_drop_down</i>
and <i class="material-icons">arrow_drop_up</i>
so I can use Google Icons which I use across my project already.
from ng2-table.
I am going to also say the ability to configure the sort icon is kind of a must. I shouldn't have to load the entire font-awesome file just for a couple icons. I built my own font icon library with Fontello for this exact reason, and the fact that I can't use my own icons is kind of a problem.
from ng2-table.
@Pokom Yeah, I ended up adding the fontawesome classes to my fontello icon list classes. It's kind of dirty, but it gets the job done for now. But yes, the real request is to have control over those classes/active states. Thanks :)
from ng2-table.
@jeffaxial
While this isn't an ideal solution, you can also just use the same classnames as the respective font-awesome icon and have those classes reference your set of icons. I think the true feature request is to have control to configure the icon classes for the table component, which would be ideal in your situation.
from ng2-table.
Related Issues (20)
- i18n doesn't work in filter inputs placeholders
- TypeError: require is not a function
- How use the i18n in this component? HOT 1
- how to change line color HOT 2
- Implement ng2-table into Angular 2 Application
- All column search working on case sensitive. How to change that HOT 2
- Understanding of project setup HOT 1
- Installing ng2-table on Angular 6 HOT 2
- Is the project still maintained ?
- how forma data dd/MM/yyyy ?
- Please help me to add html button on data
- MDialog hide behind table triggered by onCellClick
- angular2 datatables are not working for dynamic data but working fine for static data HOT 1
- How i can change language?
- filtering or sorting changes column widths
- Buttons in cell
- Production Build Error
- How can i add custom templates on rows.
- Not compiling in anglar 9 Ivy renderer HOT 6
- Unable to select text in single cell
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 ng2-table.