0

I have a celltable in my GWT application which have editable cells , when i click on any editable cell in my celltable , it bocomes editable + it also increase its size a lot..

Is there any way i can avoid this change of width of the editable cell when clicked ..hed

attached are two images , one before click on the cell and other after click on the cell .. can see the whole celltable width changes .. I want to avoid this and want to keep the size constant even after i click on the editable cell

enter image description here

After Click

junaidp
  • 10,801
  • 29
  • 89
  • 137

1 Answers1

0

Use a 100% fixed-layout table, either using

cellTable.setWidth("100%", true);

or

cellTable.setWidth("100%");
cellTable.setTableLayoutFixed(true);

Fixed-layout and column width is explained here.

Andrea Boscolo
  • 3,038
  • 1
  • 16
  • 21