用自带的全选按钮,然后用js修改文字
给控件加-初始化后
function myOnload() {
$(document).ready(function() {
$('.x-text').each(function(index) {
if (index==5) {//这里是修改第几个改为All
$(this).html("ALL");
}
});
myOnload();
建议用自带全选功能
${if(参数名 = "ALL","","and 字段 in ('"+参数名+"')")}
--------
${if(find("ALL",参数名) > 0,"","and 字段 in ('"+参数名+"')")}