##// END OF EJS Templates
Allows double click to move columns between available/selected columns....
Jean-Philippe Lang -
r7745:85db02d486d6
parent child
Show More
@@ -5,7 +5,8
5 5 <br />
6 6 <%= select_tag 'available_columns',
7 7 options_for_select((query.available_columns - query.columns).collect {|column| [column.caption, column.name]}),
8 :multiple => true, :size => 10, :style => "width:150px" %>
8 :multiple => true, :size => 10, :style => "width:150px",
9 :ondblclick => "moveOptions(this.form.available_columns, this.form.selected_columns);" %>
9 10 </td>
10 11 <td align="center" valign="middle">
11 12 <input type="button" value="&#8594;"
@@ -18,7 +19,8
18 19 <br />
19 20 <%= select_tag 'c[]',
20 21 options_for_select(query.columns.collect {|column| [column.caption, column.name]}),
21 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px" %>
22 :id => 'selected_columns', :multiple => true, :size => 10, :style => "width:150px",
23 :ondblclick => "moveOptions(this.form.selected_columns, this.form.available_columns);" %>
22 24 </td>
23 25 <td align="center" valign="middle">
24 26 <input type="button" value="&#8593;" onclick="moveOptionUp(this.form.selected_columns);" /><br />
General Comments 0
You need to be logged in to leave comments. Login now