Sha256: 40f22535c929f9c6c05dba6cfece60355d616e4fc73f4535fb02fb822b649cad

Contents?: true

Size: 773 Bytes

Versions: 39

Compression:

Stored size: 773 Bytes

Contents

<!-- TODO move these to the head -->
<%= stylesheet_link_tag "old_sql/jqgrid/ui.jqgrid.css" %>
<%= javascript_include_tag "old_sql/jqgrid/jquery.jqGrid.min.js" %>
<%= javascript_include_tag "old_sql/jqgrid/ui.multiselect.js" %>

<script>
jQuery(document).ready(function(){
  jQuery("#rowed1").jqGrid({
    url:"http://<%=@host%>:<%=@port%>/sql/reports/query.json/?report=<%=@report_name%>&report_sql=<%=@report_sql%>&generation=<%=@generation%>&start_date=<%=@start_date%>&end_date=<%=@end_date%>",
  	datatype: "json",
  	pager: false,
    colNames: <%=jqgrid_col_names%>,
    colModel: <%=jqgrid_col_model%>,
    rowNum:25,
    rowList:[10,20,30],
    width: 777,
    caption: "<%=@reports[@report_name]['value']%> Report"
  });
});
</script>

<table id="rowed1"></table>

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
old_sql-0.27.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.26.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.25.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.24.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.23.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.22.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.21.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.20.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.19.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.18.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.17.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.16.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.15.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.14.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.13.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.12.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.11.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.10.0 app/views/old_sql/report/datagrid.html.erb
old_sql-0.9.0 app/views/old_sql/report/datagrid.html.erb