Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
4 Sep 2009 at 12:12 UTC
Updated:
12 Dec 2009 at 04:40 UTC
Hi I would like to order the table fields by a column but without displaying that column.
In other words I would like to add a order option above the table.
Can I do it with views ?
thanks
Comments
Comment #1
superbaloo commentedAdd the field, make the field hidden then add a sort on that field ?
Comment #2
inforeto commentedTo add the sort on the field click on the icon next to "Style: Table" (in basic settings) which show the options to configure that style.
Once there also remember to mark the checkbox "Override normal sorting if click sorting is used" if it is needed.
Comment #3
aneuryzma commenteduhm, I realized my question wasn't well written:
I want to add a sort field above the table, check the image:
http://dl.getdropbox.com/u/72686/sort.png
I only see options to order the table on the top of each column.
thanks
Comment #4
dagmarThis is an exposed sort. We are working on this in this issue #228510: Exposed Sorts
You can help to test patchs, to inlcude this functionality into views.
Comment #5
aneuryzma commentedok thanks for the link
Otherwise I could work with html css to move the header of a column on top and make the column invisible ?
Comment #6
inforeto commentedYou can choose an excluded column from the select box of a visible column.
Then you can apply css or theme the view.
Comment #7
dagmarI think the original issue is fixed.