java - Issue with visibility of columns in primefaces datatable after sorting -


i have issue visibility of columns after applying sorting on of columns.

i attaching screen-shots of gui:

before hiding colmnns : before hiding columns

after hiding first 2 columns : after hiding first 2 columns

after applying sort on first column after hiding :

after applying sort on first column after hiding

as can see in images sorting datatable first column producing inconsistent results.below code of datatable:

   <composite:implementation>     <p:datatable id="tbl" var="item"                  value="#{cc.attrs.searchandconsultsecuritiesentriesresultspanel.results}"                  selectionmode="single"                  selection="#{cc.attrs.searchandconsultsecuritiesentriesresultspanel.selecteditem}"                  rowkey="#{item.referenceinstruction}"                  paginatortemplate="{currentpagereport} {firstpagelink} {previouspagelink} {pagelinks} {nextpagelink} {lastpagelink} {rowsperpagedropdown}"                  currentpagereporttemplate="{startrecord}-{endrecord}"                  paginator="true"                  rows="50"                  rowsperpagetemplate="10,20,50"                  draggablecolumns="true"                  resizablecolumns="true"                  tablestyle="width: auto"             emptymessage="#{applicationmsg['emptylist.label']}">         <f:facet name="header">             <h:outputformat value="#{applicationmsg['tabview.searchresult.label']}">                 <f:param value="#{cc.attrs.searchandconsultsecuritiesentriesresultspanel.results.size()}"/>             </h:outputformat>             <p:commandbutton id="toggler" type="button" value="#{applicationmsg['button.columns.label']}"                              icon="ui-icon-calculator"/>             <p:columntoggler datasource="tbl" trigger="toggler">             </p:columntoggler>         </f:facet> 

i clueless issue.it looks bug primefaces api.i using primefaces vesrion 5.3

could please me regarding this


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -