The columns are ordered in the order they are found in the
active_scaffold_session_storage[:config_list] array. The order they
get there dependes on the order they are submited.

You drag and drop the html inputs to reorder then submit and they are
send in the order they exist on the html page at submit time. Then
taken from params and put into
active_scaffold_session_storage[:config_list].

The form where the inputs are ordered in html is:
https://github.com/vhochstein/active_scaffold_config_list/blob/master/frontends/default/views/_show_config_list_form_body.html.erb

The code where the column names are taken from params and put into
session (method named store_config_list_params_into_session) is
https://github.com/vhochstein/active_scaffold_config_list/blob/master/lib/active_scaffold/actions/config_list.rb

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to