Hi Steve,
Do you have an example of how the sort_controller is used?
Thanks,
Don
sort_controller tag
3 posts
• Page 1 of 1
sort_controller tagHi Steve,
Do you have an example of how the sort_controller is used? Thanks, Don
Re: sort_controller tagThe sort controller is used for alternative list views that don't have convenient sorting by clicking on the column header. It respects the sortable fields.ini directive:
to decide which columns will be included. The most common example is if you wanted to use the summary list view template for your list view instead of the standard one for a particular table. You could add the following to your tables/tabename/actions.ini file:
This template uses the sort_controller tag to handle sorting. Only those columns with sortable=1 will be included in the list of columns that can be sorted. -Steve
Re: sort_controller tagThat would do it for me. I enjoy xataface so much . Thank you.
3 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 12 guests |