问题
I am using primefaces 5.2 . when I chnage TreeTable style to RTL dir (with css code) :
.ui-treetable .ui-treetable-toggler {
background-image: url("/WebInputQuery/javax.faces.resource/images/ui-icons_616161_256x240.png.faces?ln=primefaces-aristo");
background-position-y:-192px;
background-position-x:-16px; // + icon
}
.ui-treetable .ui-icon-triangle-1-e
{
background-image: url("/WebInputQuery/javax.faces.resource/images/ui-icons_616161_256x240.png.faces?ln=primefaces-aristo");
background-position-y:-192px;
background-position-x:0px; // - icon
}
.ui-treetable TABLE{
direction: rtl;
font-size: 13px;
}
.ui-treetable .ui-treetable-toggler{
float:right;
}
.ui-treetable .ui-treetable-indent {
float:right;
height: 16px;
width: 16px;
}
the resize option stop working. I am setting treeTable attributes :
resizableColumns="true" liveResize="true"
but it doesn't re-size . how can I fix it ?
来源:https://stackoverflow.com/questions/30592631/primefaces-treetable-resizablecolumns