Datatable - resizableColumns doesn`t work

UI Components for JSF
Post Reply
lhanusiak
Posts: 15
Joined: 16 Jan 2011, 20:14

10 Jun 2011, 16:50

When datable has resizableColumns set on true, and columns have active sortBy and filterBy, than resizing columns not work.

Code: Select all

<p:dataTable   id="allusersTable" var="oneuser" resizableColumns="true"  emptyMessage="#{msg.noUserSelected}"  selection="#{editUser.selectedUser}"
                        onRowSelectUpdate="editUsersForm:formEditUser:displayUserDetails" onRowSelectComplete="detailUserDialog.show()"
                        value="#{usersToShow.users}" paginator="true"  paginatorPosition="bottom"  rows="8" selectionMode="single">
....
            <p:column  sortBy="#{oneuser.login}" filterBy="#{oneuser.login}">
               <f:facet name="header">
                  <h:outputText value="#{msg.login}" />
               </f:facet>
               <h:outputText style="width: 80px" value="#{oneuser.login}" />
            </p:column>
....
When I remove sortBy and filterBy attibutes, resizing work properly.

I use primefaces-3.0.M2-SNAPSHOT.jar

Can we use both functionality together?
Tomcat 7
Mojarra 2.1.10
PrimeFaces 3.4
Pretty Faces 3.2.1
Hibernate 4.0
Spring 3.0

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 30 guests