ekokotov / object-table

Angular directive to easy create dynamic tables from source or URL with sorting, filtering and pagination. Smart templates and good perfomance
BSD 3-Clause "New" or "Revised" License
171 stars 52 forks source link

Dynamic headers #22

Closed hnguyenec closed 6 years ago

hnguyenec commented 8 years ago

Is there anyway to render dynamic headers (ie: headers = "{{vm.headers}}" )

ekokotov commented 8 years ago

Like u described, no. But you can use custom header template. example. Let me know if you have questions.

Parthvora commented 8 years ago

@ekokotov , is there anyway that I can use custom header as well as column dragging too? Use of custom header stops column drag. All I want to do is to call an function on each th tag, but as soon as I put that custom header HTML, column dragging stops working.

ekokotov commented 8 years ago

I will implement this