template::list::multirow_cols (public)
template::list::multirow_cols -name name
Defined in packages/acs-templating/tcl/list-procs.tcl
Get the list of columns to order by, if ordering in web server. Otherwise returns empty string.
- Switches:
- -name (required)
- List name
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: # Get an upvar'd reference to list_properties get_reference -name $name if { $list_properties(orderby_selected_name) eq "" } { return {} } template::list::orderby::get_reference -list_name $name -orderby_name $list_properties(orderby_selected_name) set result [list] if {$list_properties(orderby_selected_direction) eq "desc"} { lappend result "-decreasing" } lappend result {*}$orderby_properties(multirow_cols) return $resultXQL Not present: Generic, PostgreSQL, Oracle