2012-03-09 6 views

答えて

6

未テストですが、おそらく少しハックしますが、デフォルトのスタイルを無効にして空の画像を返すこともできます。 「blank.jpg」を作成し、このインターフェイスと同じリソースのパッケージに入れて

public interface TableResources extends CellTable.Resources { 
    @Source("blank.jpg") 
    ImageResource cellTableSortAscending(); 

    @Source("blank.jpg") 
    ImageResource cellTableSortDescending(); 
} 

:CellTableが使用するImageResourcesを上書きするHilbrand's earlier solutionを拡張します。

+2

ありがとう!期待通りに働いた! しかし、方法は次のとおりです。 '公共ImageResource cellTableSortAscending();' と '公共ImageResource cellTableSortDescending();' とにかく、あなたの助けに感謝します。 –

+1

(CellTableではなく)DataGridに対応するソリューションを探している人は、メソッド "public ImageResource dataGridSortAscending();"を使用してください。および "public ImageResource dataGridSortDescending();" –

-2

getDataGrid()。getColumnSortList()。clear();

は、ソート矢印を削除します

関連する問題