cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sortable field in list-view backoffice

Former Member
0 Likes
591

Hy everybody.

In backoffice (hybris 6.18) in list view I added a new field which is a Date type. This field is a fields created by a relation definition.

The problem I have with this field is that it's not sortable. I think it's because its not a property from actual entity and is a property from a relationed entity.

How could I fix this. Thanx a lot 😉

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

Having the same problem ,got any solution for above requirement ?

Former Member
0 Likes

Any solution for above requirement?

Former Member
0 Likes

What I've tried to do is to add new dynamic attributes to itemtype, create a new handler for this attributes with setter and getter and set values to this ones with values from the relationed ones.

It sets values but can't sort this columns, so what I'll finally do is to add new attributes to this itemtype and save this values into database. I'll have duplicated data (on in entity and another one in relationed entities) but I can't see any solution.