문제

I have an extendedDataTable with a column like this

<rich:column id="exampleId"
             filter="#{exampleFilterBean.exampleFilterMethod}"
             filterValue="#{exampleFilterBean.exampleFilterValue">
             <f:facet name="header" >
                  <h:outputText value="Header" />
             </f:facet>
             <h:outputText value="#{exampleFilterBean.example.exampleAttribute}" />

I don't want to display the control bar with the filter box because I'm using external filters and JavaScript API.

도움이 되었습니까?

해결책

You can easily hide them by adding a css-command:

.rf-edt-flt-c { display:none; }

Also the input boxes will be removed when you remove the filter/filterattribute - attributes

A third way is to remove them via javascript using extended data tables onready-attribute

onready="$('.rf-edt-flt-c', this).each(
                function(n){ 
                    this.parentNode.removeChild(this);
                 });"

Hope it helps...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top