|
|
@ -45,6 +45,7 @@ class Widget::GroupBys < Widget::Base |
|
|
|
|
|
|
|
|
|
|
|
#TODO: replace me with a drag&drop group_by selector |
|
|
|
#TODO: replace me with a drag&drop group_by selector |
|
|
|
def render |
|
|
|
def render |
|
|
|
|
|
|
|
content_tag :div do |
|
|
|
content_tag :table, :style => "border-collapse: collapse; border: 0pt none;", |
|
|
|
content_tag :table, :style => "border-collapse: collapse; border: 0pt none;", |
|
|
|
:id => "group_by_table" do |
|
|
|
:id => "group_by_table" do |
|
|
|
content_tag :tbody do |
|
|
|
content_tag :tbody do |
|
|
@ -54,6 +55,7 @@ class Widget::GroupBys < Widget::Base |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def selected_group_bys(axis) |
|
|
|
def selected_group_bys(axis) |
|
|
|
content_tag :select, "", :style => "width: 180px;", :size => "4", |
|
|
|
content_tag :select, "", :style => "width: 180px;", :size => "4", |
|
|
|