Zizzamia / ng-tasty

A tasty collection of reusable UI components for Angular, like grandma used to make. Like Table directive, WebSocket / Debounce / Throttle service, Range / Camelize / Slugify filters
MIT License
434 stars 64 forks source link

dynamic columns from server #216

Open sasidublin opened 8 years ago

sasidublin commented 8 years ago

Hi, I get table header and rows from server. this is dynamic and have no idea how many columns to expect. In that case, how do i use tastytable to print the data rows.

In this example, http://zizzamia.com/ng-tasty/directive/table-server-side/simple

if i dont know the keys name, start & 'sf-location', how do i code the markup.

{{ row.name }} {{ row.star }} {{ row['sf-location'] }}

please help.

Thanks