<script type="text/javascript">
$(function () {
$("#Grid").ejGrid({
// the datasource "window.gridData" is referred from jsondata.min.js
dataSource: window.gridData.slice(0,7),
allowPaging: true,
allowFiltering: true,
enableHeaderHover: true,
actionBegin: "begin",
filterSettings: { filterType: "excel" },
columns: [
{ field: "OrderID", isPrimaryKey: true, headerText: "Order ID", textAlign: ej.TextAlign.Right, width: 75 },
. . .
],
actionBegin:function(args){
if(args.requestType=="filterbeforeopen"){
var proxy =this;
setTimeout(function(){
$("#" + proxy._id + args.columnType + "_excelDlg").css("z-index",11111)
},0)
}
}
})
});
</script> |
|
<script type="text/javascript">
$(function () {
$("#Grid").ejGrid({
// the datasource "window.gridData" is referred from jsondata.min.js
dataSource: window.gridData.slice(0,7),
filterSettings: { filterType: "excel" },
columns: [
{ field: "OrderID", isPrimaryKey: true, headerText: "Order ID", textAlign: ej.TextAlign.Right, width: 75 },
],
actionComplete: function(args){
if(args.requestType=="filterafteropen"){
$("#" + this._id + args.columnType + "_excelDlg").css('top', "-100px");
}
},
}) |
|