2013-07-21 90 views
1

我正在使用GWT celltable列標題的工具提示。GWT:celltable列標題的工具提示未正確顯示

問題是,我只能看到我提示的空間後的第一個工作,而不是第二個字,例如,如果在刀尖我寫的「hello world」

它顯示爲「你好」

後沒有出現空間的話..

這就是我使用

 cellTable.addColumn(myColumn, SafeHtmlUtils.fromSafeConstant("<span title="+"heloo world"+">"+Constants.XVD+"</span>")); 

的代碼,所以在這種情況下,工具提示說「heloo」,而不是「地獄Ø世界」

,你可以附加圖像

enter image description here

回答

1

中所看到的也許是這樣的:

"<span title=\"heloo world\">"+Constants.XVD+"</span>" 

是否行得通呢? (逃離「)