scws.expense.refreshListImpl = function(node) { var store = grid.getStore(); var qryNames = ["flowNo", "btime", "etime", "statusName", "typeName", "wTypeName", "signon", "pTypeName", "cc_id", "project"]; for (var i = 0; i < qryNames.length; i++) { var objTmp = scws.expense.qryPnl.find("name", qryNames[i])[0]; if (objTmp) { var vluTmp = objTmp.getValue(); if (objTmp.getXType() == "datefield") { if (vluTmp) vluTmp = vluTmp.format('Y-m-d'); } store.baseParams[qryNames[i]] = vluTmp; } } store.load(); }