This topic is locked

How to sort search results

12/30/2008 9:52:58 AM
PHPRunner General questions
J
JEES author

Hello Everyone, this is my first time using phprunner and it's an amazing software and very flexible, great job indeed.
As the title says, i want to enable the user to select sorting type (according to which field he/she wants to sort the result as) as well as enabilng him/her to reverse the search, and all that will be done within the search criteria. this image show what is it all about>> Image
i had read this topic about sorting but it doesn't look like what i need

Here
thanks in advance

T
thesofa 1/3/2009

look here for a similar function you may find other javakit examples to help you from the sam esite

hichem 1/3/2009

look here for a similar function you may find other javakit examples to help you from the sam esite


Actually a nice built in feature that you might not have noticed, if you click on the column itself you can toggle the sorting order. Apparently in the next PHPRunner release (end of Jan09) there will be a possibility for multiple column sorting.

Hope this helps

J
JEES author 1/4/2009

Thanks thesofa for answering it was an interesting link.

Actually a nice built in feature that you might not have noticed, if you click on the column itself you can toggle the sorting order. Apparently in the next PHPRunner release (end of Jan09) there will be a possibility for multiple column sorting.

Hope this helps


Well i was looking forward for such important feature but in the version i have (4.2) there's no such thing like sort and toggle the order when clicking on the column itself. But as i said i am almost dying for the next PHPrunner release which will be amazing indeed since it have this feature too, perfect.
Thanks Alot

T
thesofa 1/4/2009

Thanks thesofa for answering it was an interesting link.

Well i was looking forward for such important feature but in the version i have (4.2) there's no such thing like sort and toggle the order when clicking on the column itself. But as i said i am almost dying for the next PHPrunner release which will be amazing indeed since it have this feature too, perfect.
Thanks Alot



I am certain that you can sort a column by clicking on ther column title on the list page, it has been so since version 3 and maybe before that.

J
JEES author 1/4/2009

I am certain that you can sort a column by clicking on ther column title on the list page, it has been so since version 3 and maybe before that.


I'm afraid it impossible, at least in the version which i have, the column titles are even not clickable!

If there's anything I can do please guide me how
Thanks.

T
thesofa 1/4/2009

what version of PHPrunner are you using?

J
JEES author 1/5/2009

It's version 4.2 - Build 379 -

T
thesofa 1/5/2009

When you build the web pages and load them onto your webserver, any time you view those pages through a web browser, the columns are sortable by clicking on the header of any column, just like you can in an explorer window in windows.

This has been a standard feature of all the pages generated from PHPRunner at least since version 3

J
JEES author 1/5/2009

Well I got it working but, seems life isn't that easy still, this feature only works when the records are shown in horizontal layout and whenever i turn it into a vertical layout this feature just vanishes <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=36474&image=1&table=forumreplies' class='bbc_emoticon' alt=':(' /> .

But thanks for your patience you're really helpful.. i think i still can do that by modifying the page code.
Thanks alot