开发者

ext gwt remove(Widget) issue

开发者 https://www.devze.com 2022-12-20 05:21 出处:网络
i have an vertical panel (boxContent) with three horizontal panels (row1, row2 and row3). I want to remove the second row, so I\'m using following:

i have an vertical panel (boxContent) with three horizontal panels (row1, row2 and row3). I want to remove the second row, so I'm using following:

b开发者_StackOverflowoxContent.remove(row2)

The content of the row is removed, but the row still exist with following content

<tr>
<td class="x-table-layout-cell" align="left" valign="top"/>
</tr>

How can i remove the row completly?


Try FlexTable instead of vertical and horizontal panel.

Have not try it, but it might be the solution to your problem.


the problem was, that i'm putting the third row in new panel and not in the same, which contains first and second row....now is remove(row2) working fine.

0

精彩评论

暂无评论...
验证码 换一张
取 消