custom-cards / flex-table-card

Highly Flexible Lovelace Card - arbitrary contents/columns/rows, regex matched, perfect to show appdaemon created content and anything breaking out of the entity_id + attributes concept
GNU General Public License v3.0
198 stars 23 forks source link

Feature request: click header to sort #35

Closed LordShadowen closed 9 months ago

LordShadowen commented 3 years ago

It would be cool if instead of just choosing the sort order once through config, we could click on the header of each column to sort it by that column index. (the config would still be valid for the default sort)

daringer commented 3 years ago

yeah, also had this idea. I have not yet seen this on an element within HA, did you maybe?

A simple version might be easy to hack-in,but I have some doubts to just re-invent something like that on a custom-card-level, means if intended by the lovelace frontend team there would be a nice interface (like the one for bringing up the details window on click).

But a 2nd person is already twice the crowd supporting it (despite me :smile:), so let's see maybe a non-invasive solution might be realistic.

myhomeiot commented 2 years ago

JFYI: This already implemented in Zha Network Card which is based on your flex-table-card

bcutter commented 1 year ago

JFYI: This already implemented in Zha Network Card which is based on your flex-table-card

...so this could act as a blueprint to reverse integrate this into flex-table-card, right?

myhomeiot commented 1 year ago

...so this could act as a blueprint to reverse integrate this into flex-table-card, right?

I think so.

EdLeckert commented 10 months ago

Possibly resolved by: