摘要:
$.extend($.fn.form.methods, { serialize: function(jq){ var arrayValue = $(jq[0]).serializeArray(); var json = {}; $.each(arrayValue, function() { var 阅读全文
摘要:
public void UPLOADFILED() { Date dt = new Date(System.currentTimeMillis()); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS"); String f 阅读全文
摘要:
var createGridHeaderContextMenu = function(e, field) { e.preventDefault(); var grid = $(this);/* grid本身 */ var headerContextMenu = this.headerContextM 阅读全文
摘要:
var createGridRowContextMenu = function(e, rowIndex, rowData) { e.preventDefault(); var grid = $(this);/* grid本身 */ var rowContextMenu = this.rowConte 阅读全文
摘要:
$('#dg').datagrid('getPanel').find('.easyui-tooltip').each(function(){ var index = parseInt($(this).attr('data-p1')); $(this).tooltip({ content: $('<d 阅读全文
摘要:
function load(sdate) { $.getJSON("workorder/statistics.do", { sdate : sdate+'-01' }, function(resp) { //获取数据源 var columns = new Array(); //定义列集合 var r 阅读全文
摘要:
var tg = $('#tg');tg.treegrid({...}); // create treegridvar panel = tg.treegrid('getPanel');var body1 = panel.find('div.datagrid-view1 div.datagrid-bo 阅读全文
摘要:
$.post('${createLink(action:"build Columns url ")}', params, function(data){ var columns = []; var col = []; for(var i=0; i< data.length; i++){ var v 阅读全文
摘要:
$.extend($.fn.datagrid.defaults.editors,{ combobox: { init: function(container, options){ var combo = $('<input type="text">').appendTo(container); co 阅读全文
摘要:
var myview = $.extend({},$.fn.datagrid.defaults.view,{ onAfterRender:function(target){ $.fn.datagrid.defaults.view.onAfterRender.call(this,target); va 阅读全文
摘要:
$.extend($.fn.datagrid.methods,{ columnMoving: function(jq){ return jq.each(function(){ var target = this; var cells = $(this).datagrid('getPanel').fi 阅读全文
摘要:
$('#cc').combobox({ url:'combobox_data1.json', method:'get', valueField:'id', textField:'text', panelHeight:'auto', multiple:true, formatter: function 阅读全文
摘要:
$.extend($.fn.panel.methods, { showMask: function(jq, msg){ return jq.each(function(){ var pal = $(this).panel('panel'); if (pal.css('position').toLow 阅读全文
摘要:
$.extend($.fn.datagrid.defaults.filters, { dateRange: { init: function(container, options){ var c = $('<div style="display:inline-block"><input class= 阅读全文