Page 3 of 3

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

Posted: Mon Feb 09, 2015 3:14 am
by Yurii Orishchuk

Hi Ellen,

Looks okay,

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

Regards.


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

Posted: Mon Feb 09, 2015 3:22 am
by Ellen Schlechter

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.


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

Posted: Tue Feb 10, 2015 2:22 am
by Yurii Orishchuk

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.


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

Posted: Tue Feb 10, 2015 2:36 am
by Ellen Schlechter

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


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

Posted: Wed Feb 11, 2015 5:06 am
by Yurii Orishchuk

Working in mail mode on it.

Regards.


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

Posted: Wed Feb 11, 2015 5:07 am
by Ellen Schlechter

Yes let's work on it through e-mail.