<% grid.html_columns(*options[:columns]).each do |column| %> <%= column.header %> <%= datagrid_order_for(grid, column, options) if column.supports_order? && options[:order]%> <% end %>