hjalmers / angular-generic-table

A generic table for Angular 2+. Generic table uses standard markup for tables ie. table, tr and td elements etc. and has support for expanding rows, global search, filters, sorting, pagination, export to CSV, column clicks, custom column rendering, custom export values.
https://hjalmers.github.io/angular-generic-table/
MIT License
104 stars 55 forks source link

How to do that accordian #201

Open ghoshsuraj opened 6 years ago

ghoshsuraj commented 6 years ago

i am not able to get the accordian...why ur example so complex not able to understand where is everything coming from..can you make it simple so that new guys can easily understand.when i gave columnClass: 'clickable' it throws error

hjalmers commented 6 years ago

Hi @ghoshsuraj, are you referring to this example? Thanks for the feedback and I get why that part might be a bit confusing (and i should change it). I've tried to minimize the amount of css as the whole purpose with this table is to be generic and I want people to use their own css or a framework like bootstrap but some of the example specific css is available here. You'll also find the clickable class there but it's not really part of the code that's shipped with generic table but feel free to copy it if you like:) You can read more about styling the table here.

Crash1988 commented 6 years ago

hi @ghoshsuraj , i made an example running in angular v6 in stackblitz based on this example I hope helps you to understand everything, Let me know if there is something you need to know, Thanks