primefaces treeTable resizableColumns

℡╲_俬逩灬. 提交于 2019-12-25 01:33:53

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!