Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I am trying to set the column width to zero in a GWT-GRID in order to make it hidden. I tried
grid.GetColumnFormatter().setWidth(0, "0px");
But nothing happened.Is there any other way?
グリッドでは、FlexTableFormatter()またはを使用するかどうかにかかわらずColumnFormatter()、各列がそのサイズを占有します。いくつかのピクセルで制限したい場合は、それを行うことができます。ただし、0 にすることはできません。むしろ、特定の列の実行時間を追加することができます。
FlexTableFormatter()
ColumnFormatter()