Subversion Repository Public Repository

litesoft

Diff Revisions 613 vs 712 for /trunk/Java/GWT/Client/src/com/google/gwt/gen2/table/client/PagingScrollTable.java

Diff revisions: vs.
  @@ -33,6 +33,8 @@
33 33 import com.google.gwt.user.client.ui.HasHorizontalAlignment.*;
34 34 import com.google.gwt.user.client.ui.HasVerticalAlignment.*;
35 35
36 + import org.litesoft.core.util.HTMLConstants;
37 +
36 38 /**
37 39 * An {@link AbstractScrollTable} that acts as a view for an underlying
38 40 * {@link MutableTableModel}.
  @@ -151,7 +153,7 @@
151 153
152 154 public ColumnHeaderInfo( Object header, int rowSpan )
153 155 {
154 - this.header = (header == null) ? " " : header;
156 + this.header = (header == null) ? HTMLConstants.NBSP : header;
155 157 this.rowSpan = rowSpan;
156 158 }
157 159
  @@ -1541,7 +1543,7 @@
1541 1543 }
1542 1544 else
1543 1545 {
1544 - table.setHTML( 0, 0, " " );
1546 + table.setHTML( 0, 0, HTMLConstants.NBSP );
1545 1547 }
1546 1548 formatter.setRowSpan( 0, 0, table.getRowCount() );
1547 1549 formatter.setHorizontalAlignment( 0, 0, HasHorizontalAlignment.ALIGN_CENTER );