def dojo_tag(widget, args={}, inner_html='')
      div = HtmlGrid::Div.new(@model, @session, self)
      div.set_attribute('data-dojo-type', widget)
      args.each { |key, value|
        if value.is_a?(Array)
          value = value.join(',')
        end
        div.set_attribute(key, value)
      }
      div.value = inner_html
      div
    end
def dojo_tag(widget, args={}, inner_html='')
      div = HtmlGrid::Div.new(@model, @session, self)
      div.set_attribute('data-dojo-type', widget)
      args.each { |key, value|
        if value.is_a?(Array)
          value = value.join(',')
        end
        div.set_attribute(key, value)
      }
      div.value = inner_html
      div
    end
DOJO_VERSION >= 1.7.0 only (removed old version support)