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

Column Selection when inlineEdit:true #199

Open sahilkatia opened 6 years ago

sahilkatia commented 6 years ago

Angular-generic-table have a row selection feature can we do same on column level?

can we select the whole column on click?

hjalmers commented 6 years ago

Hi @sahilkatia, not sure how you'd like to use the feature but I should be possible to use the columnClick method and do a map on your data and return an array with column values for all rows, and at the same time you could apply some class to you column to make it look lite has been selected. Might not fit your use case do so perhaps you could elaborate a bit on your needs?