Friday, March 6, 2015

Re: How to remove Column blank in DataGrid

Hello,

I solved the problem, what happened is that the implementation of a component of ours was doing it.

Now I'm in trouble regarding the grid content size because GWT calculates its height automatically to the Header and Footer get fixed, but when you put zoom in the browser or strip, these values GWT are being calculated wrong.
Anyone had this problem?

Att.

Em sexta-feira, 6 de março de 2015 07:44:29 UTC-3, Marlon Maxwel escreveu:
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