This content has been marked as final. Show 2 replies
Luis Cabral wrote:Join the club:
In other words, I want the pagination to be displayed in the last row in the table, using a specific style.
However, this is what is generated in the page:
As you can see, it replaced the #PAGINATION# placeholder with a table inside a tr, which completely messes up the layout I want.
<tr> <td class="pwc_ReportHeader"> <tr> <td colspan="7" align="right" > <table summary=""> <tr> <td class="pagination"></td> <td class="pagination"></td> <td nowrap="nowrap" class="pagination"><span>1 - 2</span></td> <td class="pagination"></td> <td class="pagination"></td> </tr> </table> </td> </tr> </td> </tr>
(I'm sure there are others.)
Where did those tr and table come from?From the innards of APEX.
Is it possible to change what is generated?Maybe. Never done this, nor seen it done:
These tags don't even have IDs or classes associated to them so it is impossible to style them using CSS.IDs and classes are not the only CSS selectors. Unless you're stuck in quirks mode on IE6/7/8/(9?), you can use attribute, child, adjacent sibling and pseudo-class selectors to target those elements.
If you post the complete report template we can try to identify possible selectors.
That is what I thought... Unfortunately I am stuck with IE 6 so those new fancy selectors are not an option.
The only option I see, as you suggested, is to use JQuery to manipulate the DOM and assign the required classes to the tr that is added by the framework.