litesoft
Diff Revisions
151
vs
243
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/AccordionTable.java
|
@@ -4,6 +4,7 @@ |
4 |
4 |
|
import java.util.*; |
5 |
5 |
|
|
6 |
6 |
|
import org.litesoft.GWT.client.widgets.datatables.DetailRowModel.*; |
|
7 |
+ |
import org.litesoft.GWT.client.widgets.nonpublic.*; |
7 |
8 |
|
import org.litesoft.core.util.*; |
8 |
9 |
|
|
9 |
10 |
|
import com.google.gwt.dom.client.*; |
|
@@ -120,8 +121,8 @@ |
120 |
121 |
|
mTable.resizeRows( 2 ); |
121 |
122 |
|
final Element detailTr = mTable.getRowElement( 0 ); |
122 |
123 |
|
final Element normalTr = mTable.getRowElement( 1 ); |
123 |
|
- |
detailTr.getStyle().setProperty( "visibility", "hidden" ); |
124 |
|
- |
normalTr.getStyle().setProperty( "visibility", "hidden" ); |
|
124 |
+ |
CommonElementHelper.hide( detailTr ); |
|
125 |
+ |
CommonElementHelper.hide( normalTr ); |
125 |
126 |
|
AccordionTable.AccordionTableTable.RowView<RowType> rowView = mTable.new RowView<RowType>(); |
126 |
127 |
|
AccordionTable.AccordionTableTable.CellView<RowType> cellView = mTable.new CellView<RowType>( -1, new DetailRowModel<RowType>() |
127 |
128 |
|
{ |