PDA

View Full Version : <TD> on table layout not beeing removed



grubi
14 Oct 2009, 11:12 AM
Following problem:

If you have a panel with layout type 'table' whenever a component is added it is enclosed within a <td> tag (meaning every component is added in a seperate column).

However if you remove a component from the panel the <td> tag is not beeing removed.

Does this work as intended or is it a bug?

If you subsequently add and remove components to that type of panel you end up with an increasing number of empty <td> tags.

Regards,
grubi.

Animal
14 Oct 2009, 12:18 PM
It's not that simple. TD counts (including colspans) must match up in all TRs in a TBODY

grubi
14 Oct 2009, 12:37 PM
It's not that simple. TD counts (including colspans) must match up in all TRs in a TBODY

Ok.

Just wanted to get sure if this behavour is by design.
No problem then to clean up things in the app itelf.

Thanks for confirmation.

Regards,

grubi.