如何在Jqx网格中隐藏特定列showfilterrow

时间:2015-03-09 09:48:20

标签: jqxgrid

实际上我正在研究Jqx Grid。我有一个show filter row(快速搜索)的要求。我只需将它应用于单个列,但它适用于我需要的所有列隐藏我不需要的列。谁能帮我吗 ?这是我申请的代码:

宽度: '100%',                                 高度:345,                                 来源:dataAdapter,                                 showfilterrow:是的,                                 groupable:是的,                                 sortable:是的,                                 showaggregates:是的,                                 altrows:是的,                                 autorowheight:是的,                                 可过滤的:是的,                                 pageable:true,                                 columnsresize:true,
                                列: [ {text:'Name',columntype:'textbox',filtertype:'textbox',datafield:'projectName',width:'20%'},

{text:'Est.StartDate',columntype:'textbox',filtertype:'textbox',datafield:'estStartDate',width:'20%'},

{text:'Est.EndDate',columntype:'textbox',filtertype:'textbox',datafield:'estEndDate',width:'20%'},

{text:'Status',columntype:'textbox',filtertype:'textbox',datafield:'status',width:'20%'},

{text:'Attachments',datafield:'attachments',search:false,width:'20%'},

{text:'Action',width:100,cellsalign:'center'}

1 个答案:

答案 0 :(得分:0)

对于您不想显示过滤器控件的列,请添加属性

filterable: false