Skip to main content
Known Participant
April 13, 2010
Question

datagrid sizing

  • April 13, 2010
  • 1 reply
  • 888 views

I am trying to get the textfiled of the datagrid to be big enough to fit long names, i have tried lots of different things, from applying a cellrenderer and making the textfiled wider which worked in away because you can see all the text. and the column itself has a minwidth. But the box behind does not change. How do i get access to it to make it wider?

Thanks

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 13, 2010

what's the problem when you increase the width of your dg?

Emma87Author
Known Participant
April 13, 2010

it does not increase the size of the column, just adding a big yellow space at the side, i want the white boxes, what i assumed to be the column to be the width i tell it, but it does not change. the grid is 500 wide and the name col has a min width of 400, with a cell rendered class telling it the textfield should be 400 wide too.

kglad
Community Expert
Community Expert
April 13, 2010

did you adjust your datagridcolumn width?