
| Key: |
DISPL-379
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Reporter: |
Anthony Gerrard
|
| Votes: |
3
|
| Watchers: |
4
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Application server: |
oc4j 9.0.4
|
|
Steps:
* Define a table but don't define any columns
* The columns are grouped as if you've specified group=1 etc on each of the columns
This did not happen in version 1.0 and is contrary to the documentation for display:column "If this attribute is not included, then no grouping is performed."
See attached for jsp to reproduce the error.
I'm using no columns for a page that runs user defined sql reports. I could specify the columns by iterating over the first row but don't want to as its more code and this used to work fine.
|
|
Description
|
Steps:
* Define a table but don't define any columns
* The columns are grouped as if you've specified group=1 etc on each of the columns
This did not happen in version 1.0 and is contrary to the documentation for display:column "If this attribute is not included, then no grouping is performed."
See attached for jsp to reproduce the error.
I'm using no columns for a page that runs user defined sql reports. I could specify the columns by iterating over the first row but don't want to as its more code and this used to work fine. |
Show » |
Sort Order:
|
{code}
public void init(PageContext context, Object decorated, TableModel tableModel)
{
super.init(context, decorated, tableModel);
for (Iterator it = tableModel.getHeaderCellList().iterator(); it.hasNext();) {
HeaderCell cell = (HeaderCell) it.next();
cell.setGroup(-1);
}
}
{code}