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

inlineEdit : true #193

Open sahilkatia opened 6 years ago

sahilkatia commented 6 years ago

@hjalmers @rolphes @thomasnisole @dkosasih @Henkenator . @jonaslalin Hi all contributors, Thanks for angular-generic-table. Made my life easy. I have one question.

When I follow inlineEdit, it's not working for true, inlineEdit: [a,b,c] then it shows me dropdown of a b c.

As per requirement, my data is dynamic and it should be editable in a row. But Id should not be editable. Please let me know how can I achieve using a generic table.

Also, a custom component inside each table feature works fine as per requirement but I am not able to implement it if data is dynamic.

Please let me know how can I achieve this feature also if my data is dynamic

hjalmers commented 6 years ago

Hi @sahilkatia, do you have some code that you can share or what do you mean with when you say that your data is dynamic? The inline edit property is defined by column so if you don't want user to be able to edit id you just have to omit the property for that field as inline edit is disabled by default.