How to remove filter component string from extended DataTable in richfaces

I have 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 do not want to display the control panel with a filter, because I use external filters and the JavaScript API.

+3
source share
1 answer

You can hide them by adding the css command:

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

In addition, the input fields will be deleted when the filter/filterattribute

The third way is to remove them using javascript using the onready-attribute extended data tables

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

Hope this helps ...

+4
source

All Articles