jQuery EasyUI DataGrid Filter Row - Mockup for Landsat Query PORM2 peak discharge dates
HTML
<h2>DataGrid Filter Row</h2>
<div class="demo-info" style="margin-bottom:10px">
<div class="demo-tip icon-tip"> </div>
<div>This sample shows how to customize the filter menu of datagrid.</div>
</div>
<table id="dg" title='Point of Rocks, MD - Discharge >= 80.05 kcfs (Flood "Action")' style="" data-options="
singleSelect:true,
data:data
">
<thead>
<tr>
<th data-options="field:'date',align:'center',sortable:true">Date</th>
<th data-options="field:'discharge',align:'right', sortable:true">Discharge (kcfs)</th>
<th data-options="field:'stage',align:'center'">Stage (ft)</th>
</tr>
</thead>
</table>
CSS
</style> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/default/easyui.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/themes/icon.css"> <link rel="stylesheet" type="text/css" href="http://www.jeasyui.com/easyui/demo/demo.css"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.1.min.js"></script> <script type="text/javascript" src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="http://www.jeasyui.com/easyui/datagrid-filter.js"></script>
<style>
JavaScript
var data = [
{
siteNo: "01638500",
date: "2003-09-21",
discharge: 112000,
stage: ''
},
{
siteNo: "01638500",
date: "2003-12-12",
discharge: 105000,
stage: ''
},
{
siteNo: "01638500",
date: "2004-09-30",
discharge: 85600,
stage: ''
},
{
siteNo: "01638500",
date: "2005-03-30",
discharge: 109000,
stage: ''
},
{
siteNo: "01638500",
date: "2007-04-17",
discharge: 86200,
stage: ''
},
{
siteNo: "01638500",
date: "2008-05-13",
discharge: 89800,
stage: ''
},
{
siteNo: "01638500",
date: "2009-05-06",
discharge: 90300,
stage: ''
},
{
siteNo: "01638500",
date: "2010-01-26",
discharge: 105000,
stage: ''
},
{
siteNo: "01638500",
date: "2010-01-27",
discharge: 109000,
stage: ''
},
{
siteNo: "01638500",
date: "2010-03-13",
discharge: 82100,
stage: ''
},
{
siteNo: "01638500",
date: "2010-03-14",
discharge: 148000,
stage: ''
},
{
siteNo: "01638500",
date: "2010-03-15",
discharge: 154000,
stage: ''
},
{
siteNo: "01638500",
date: "2010-03-16",
discharge: 82900,
stage: ''
},
{
siteNo: "01638500",
date: "2011-03-12",
discharge: 112000,
stage: ''
},
{
siteNo: "01638500",
date: "2011-04-17",
discharge: 84900,
stage: ''
},
{
siteNo: "01638500",
date: "2011-04-18",
discharge: 131000,
stage: ''
},
{
siteNo: "01638500",
date: "2011-05-19",
discharge: 129000,
stage: ''
},
{
siteNo: "01638500",
date:...