Hi,

I am creating a portlet that incorporates a list of items. I would like to do it as with "MyJobs" portlet, to provide a standard interface all over the Science Gateway. also, the sorting, pagination and search tools that it provides are of great utility for me.

To do so, I looked inside the project, extracted how the Job table is built, and copied it in my project. It is in fact very easy, just

  <table id="view" style="width:100%">
            <thead>
                <tr>
                    <th>
                        title
                    </th>
                </tr>
            </thead>
            <tbody>
                    <tr>
                        <td> Element </td>
                    </tr>
            </tbody>
        </table>

But a very strange effect happens. It is easier to show that to describe, so please take a look at this 2 screen captures

img1

and

Img2

As you can see, the first portlet gets a correct visualization, search tools and everything, but the second is wrong.

So, have you got any idea or suggestion on how should I proceed? Maybe including a local CSS on the portlet, defining thead and th in a different place, or any other alternative.

Once again, thanks for your help. Best regards,

Manuel