Maybe try setting the columns value to empty when the width is 0? Something like this? Column<...> itemColumn = new Column<...>(new TheCell()) { @Override public Object getValue (Object object) { if (theDataGrid.getColumnWidth(this) == 0) { return ""; }
return object.toString(); } }; On Mar 7, 3:06 pm, Bill M <blinte...@aol.com> wrote: > Hi, > > Is there a way to hide a column in the GWT DataGrid widget? I was > using someone's suggestion of setting the columnWidth of the column I > want to hide to 0. However, with that approach the String data seems > to be "wrapping" in the hidden column, causing some rows to have a > larger height. > > Is there another way to hide a column? Or, do I need to implement my > own data structure to handle this? > > Thanks, > Bill M -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.