title: Data Table filter on Prime faces
body: <p>I have code below form. . i wanted to search globally. please suggest me how can i do it</p>
  
  <p></p>
  
  <pre><code>            &lt;p:ajax event="rowSelect" listener="#{employeeCategoryBean.onRowSelect}" /&gt;
              &lt;p:ajax event="contextMenu" listener="#{employeeCategoryBean.onRowSelect}" /&gt;
  
              &lt;f:facet name="header"&gt;  
                        &lt;p:outputPanel&gt;  
              &lt;h:outputText value="Search all fields:" /&gt;  
              &lt;p:inputText id="globalFilter" onkeyup="modelTable.filter()" style="width:150px" /&gt;  
          &lt;/p:outputPanel&gt;  
                  &lt;/f:facet&gt;
  
              &lt;p:column headerText="Name"&gt;
                      #{model.name}
                  &lt;/p:column&gt;
  
              &lt;p:column headerText="Prefix"&gt;
                      #{model.prefix}
                  &lt;/p:column&gt;
  </code></pre>