Wednesday, March 4, 2015

How to remove Column blank in DataGrid

Hellow,

I have 1 DataGrid in GWT and- When I change the size of my grid dynamically, it Creates one blank column at the end of the grid.
How can I hide que column? Is it possible?

Apparently the DataGrid code snippet that does this is:

public TableColElement ensureTableColElement (int index) {
       
// Ensure That We have enough columns.
       
for (int i = colgroup.getChildCount (); i <= index; i ++) {
         colgroup
.appendChild (Document.get () createColElement ().);
       
}
       colgroup
.getChild return (index) .cast ();
     
}


Someone help me?

Att.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment