Primefaces datatable header alignment with scrollbar -
i'm facing strange behaviour of primefaces (v.5.1) datatable. have datatable srollable=true:
<p:datatable var="_udf" value="#{unitadifornituralist}" scrollheight="350" livescroll="true" scrollrows="20" scrollable="true" id="risultati" widgetvar="risultati">
when there lots of items scrollbar shown , header correctly aligned:
when there 5 items scrollbar doesn't appear , header correctly hide gap on right scrollbar:
the strange thing when have more 5 items not enough show scrollbar. in case header shows gap , it's not aligned:
any ideas? thank you
Comments
Post a Comment