thead not aligned with tbody in scrollable table

Forum to discuss the Web client version of Servoy.

thead not aligned with tbody in scrollable table

Postby wouter » Mon Jul 23, 2012 3:56 pm

Hi,

We are seeing a problem with scrollable tables with headers. The problem is that the headers are not aligned with the contents. The problem only occurs when you have "APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE" set to true, and of course when you have a table view with headers.

A simplified css way to solve this would be to wrap both thead and tbody cells in a DIV and give that a fixed width. E.g.

Code: Select all
<thead>
<tr>
<th><div style="width: XX">title here</div></th>
</tr>
</thead>
<tbody>
<tr>
<td><div style="widht: XX">contents here</div></td>
</tr>
</tbody>


But that is not the way the html is structured in Servoy. Is there a way to fix the display in the current version?

Image
User avatar
wouter
 
Posts: 19
Joined: Mon Jul 23, 2012 1:17 pm

Re: thead not aligned with tbody in scrollable table

Postby Gabi Boros » Thu Aug 02, 2012 1:31 pm

we already fixed this for the next 6.1.1 release
Gabi Boros
Servoy
Gabi Boros
 
Posts: 402
Joined: Tue Jun 26, 2007 4:03 pm
Location: Timisoara, Romania


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 3 guests

cron