Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 3.3
-
Fix Version/s: None
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Glassfish 3.1.2.2, IE 9
Description
Might depends on ICE-9674
Whenever the new cell content exceeds the column width, header columns misalign temporarily.
Simple Example:
@SessionScoped
@ManagedBean
public class Bean {
private String colValue = "BBBBBBB";
public List<String> getRows() {
return Arrays.asList(colValue, colValue);
}
public String doClick() {
colValue += colValue;
return null;
}
}
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ace="http://www.icefaces.org/icefaces/components"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<h:head>
<ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
</h:head>
<h:body>
<h:form>
<ace:dataTable
value="#{bean.rows}"
var="row"
rows="20"
resizableColumns="true"
scrollable="true"
scrollHeight="400"
paginator="true"
paginatorPosition="bottom">
<ace:column headerText="Col1"><h:outputText value="#{row}" /></ace:column>
<ace:column headerText="Col2"><h:outputText value="#{row}" /></ace:column>
</ace:dataTable>
<h:commandButton label="Increase" value="#{bean.doClick()}"/>
</h:form>
</h:body>
</html>
Whenever the new cell content exceeds the column width, header columns misalign temporarily.
Simple Example:
@SessionScoped
@ManagedBean
public class Bean {
private String colValue = "BBBBBBB";
public List<String> getRows() {
return Arrays.asList(colValue, colValue);
}
public String doClick() {
colValue += colValue;
return null;
}
}
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:ace="http://www.icefaces.org/icefaces/components"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<h:head>
<ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
</h:head>
<h:body>
<h:form>
<ace:dataTable
value="#{bean.rows}"
var="row"
rows="20"
resizableColumns="true"
scrollable="true"
scrollHeight="400"
paginator="true"
paginatorPosition="bottom">
<ace:column headerText="Col1"><h:outputText value="#{row}" /></ace:column>
<ace:column headerText="Col2"><h:outputText value="#{row}" /></ace:column>
</ace:dataTable>
<h:commandButton label="Increase" value="#{bean.doClick()}"/>
</h:form>
</h:body>
</html>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion