This content has been marked as final.
Show 2 replies
-
1. Re: How to set a pertent base width for the extendedDataTable
pvito Nov 23, 2011 8:37 AM (in response to hantsy)Hi, hantsy bai
Use percent for width in column not supported now.
See source code:
org\richfaces\renderkit\ExtendedDataTableRenderer.java
/**
* @deprecated TODO Remove this method when width in relative units in columns will be implemented.
* @param column
* @return width
*/
private String getColumnWidth(UIComponent column) {
String width = (String) column.getAttributes().get("width");
if (width == null || width.length() == 0 || width.indexOf("%") != -1) {
width = "100px";
}
return width;
}
-
2. Re: How to set a pertent base width for the extendedDataTable
hantsy Nov 23, 2011 9:18 AM (in response to pvito)Thanks