开发者

JSF- h:panelGrid specific style for specific column

开发者 https://www.devze.com 2023-04-02 00:05 出处:网络
There is h:panelGrid table with 2 columns. It\'s needed,that first column to be 30% and the second one 70% of whole table width.

There is h:panelGrid table with 2 columns.

It's needed,that first column to be 30% and the second one 70% of whole table width.

Is there some configuratio开发者_如何学Pythonn for such case? Looks like columnClasses attribute applied for all columns, and it's needed specific CSS class for specific column.


Just use column-separated list of classes: columnClasses="column1Class, column2Class". By documentation the column1Class will be used for the first column and the column2Class for the second column.

0

精彩评论

暂无评论...
验证码 换一张
取 消