Strange situation with Rain template, I can't display filter fields above dataTable columns, in usual way, like this:
https://www.primefaces.org/showcase/ui/ ... lter.xhtml
Here is one of my columns :
Code: Select all
<p:column headerText="Naziv" sortBy="#{app.naziv}" filterBy="#{app.naziv}" filterMatchMode="contains" style="width:280px">
<h:outputText value="#{app.naziv}" />
</p:column>
When I look at browser Inspector, I can see following snippet:
Code: Select all
<input id="mainForm:mainTabView:_sub_r1:tabB1:j_idt139:filter" name="mainForm:mainTabView:_sub_r1:tabB1:j_idt139:filter" class="ui-column-filter ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" value="" autocomplete="off" aria-labelledby="mainForm:mainTabView:_sub_r1:tabB1:j_idt139:filter_label" style="''" role="textbox" aria-disabled="false" aria-readonly="false">
class="ui-column-filter ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all"
And only when I remove at least the ui-column-filter, (or all classes) directly from inspector, the filter field appear, but right to the the column header text.
So, not below, as usual
Looks as clear bug, is not?