Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How can I sort by different things depending on which select menu option is clicked?

Hi Ellen,

Looks okay,

Please specify what stored in "cow_id" field that you want to use in sort functionality?

Regards.

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

How can I sort by different things depending on which select menu option is clicked?

In that column of the database it is just a mix of letters and numbers. Was the 'value' part of the properties of the select menu supposed to be a component? I currently have it set up as database columns.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How can I sort by different things depending on which select menu option is clicked?

Hi Ellen,

pre

In that column of the database it is just a mix of letters and numbers

/pre

And how do you want to sort it? How do you test it and why do you think that's not works..? Also please specify what data type in your "cow_id" field.(show screen shot from DB collection).

Regards.

Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

How can I sort by different things depending on which select menu option is clicked?

I want it to sort A to Z if that is the option selected. If Z to A is selected, I want it to select it. If Date is selected, I want newest on top. If Weight is selected, I want it from low to high.
Image

Return to “Issues”