object-table icon indicating copy to clipboard operation
object-table copied to clipboard

Preserve Object Table Ordering and Header State

Open GhazanfarKhan opened this issue 10 years ago • 5 comments

Hi, I want to preserve table current header and Reorder state and also add headers by check box selection dynamically.

Suppose user makes its own settings in reordering and adding headers according to its own wish then later I want to save that states , Is it possible?

GhazanfarKhan avatar Dec 29 '15 07:12 GhazanfarKhan

Headers is just a parameter. Just change this parameter according new header list. I think you need just array of headers convert to string parameter, like 'header1, header2'

ekokotov avatar Jan 12 '16 13:01 ekokotov

Or use Custom headers pattern

ekokotov avatar Jan 12 '16 13:01 ekokotov

Like: // in controller $scope.headers = 'Age, full Name'; // in template : <table object-table class="hover-column" data="data" headers="{{headers}}" ...

ekokotov avatar Jan 22 '16 14:01 ekokotov

Sorry, But to change set/order of headers or fields dynamically is not possible for now :(.

ekokotov avatar Jan 22 '16 14:01 ekokotov

Will implement this feature in next release.

ekokotov avatar Jan 25 '16 14:01 ekokotov