<%= content_tag :div,:class=>@tag_class do%>
  <div class="default_widget_type_A">
    <table class="default_widget_tb" border="0" cellpadding="0" cellspacing="0" >
    <thead>
      <tr>
        <% @frontend_field_names.each_with_index do |field,index|%>
          <%= content_tag(:th,content_tag(:span,get_field_header(field),:class=>@frontend_classes[index]))unless field.blank?%>
        <% end %>
      </tr>
    </thead>
      <% @data.each do |row_data| %>
        <tr>
          <% @frontend_field_names.each_with_index do |field,index|%>
              <%= content_tag(:td,content_tag(:span,link_to_field(row_data,field, @frontend_sat_to_links[index], {orig_page: @page_id.to_s}),:class=>@frontend_classes[index]))unless field.blank?%>
          <% end %>
        </tr>
      <% end %>
    </table>
  <% end %>
