Re: How to hide a column in CellTable

2012-02-09 Thread divStar
Adding and removing the column is - IMO - a bad idea. As far as I
understood there'll be an easier way to add styles to columns in
GWT2.5. However at the moment I've implemented a workaround that works
for me - with some limitations: 
http://code.google.com/p/google-web-toolkit/issues/detail?id=6547#c4
. Basically you add two methods to the CellTable-class (you cannot
extend the CellTable and add the methods in a new class, because the
attributes thead, tfoot and tbody are not available outside the class)
and have to make sure that after a range-change or any other redraw
you reapply the column-styles again.

Igor.

-- 
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.



How to hide a column in CellTable

2012-02-08 Thread Vibhas Zanpure
Hello,


I tried using setColumnWidth to 0px and also tried clearColumnWidth...
But its not working... Any suggestions? I am using IE8 in quirks
mode...Thanks in advance

-- 
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.



Re: How to hide a column in CellTable

2012-02-08 Thread karthik vadapalli
http://stackoverflow.com/questions/7116758/how-to-hide-column-in-cell-table-gwt
watch this it might be useful for you

On Wed, Feb 8, 2012 at 2:53 PM, Vibhas Zanpure vibhas.zanp...@gmail.comwrote:

 Hello,


 I tried using setColumnWidth to 0px and also tried clearColumnWidth...
 But its not working... Any suggestions? I am using IE8 in quirks
 mode...Thanks in advance

 --
 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.




-- 
Regards,
v.karthik,
+919967930663.

-- 
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.



Re: How to hide a column in CellTable

2012-02-08 Thread Vibhas Zanpure
Thanks Karthik for the reply :)...

However, in my case, I cant use fixed table layout and therefore can't
use setColumnWidth to 0px... So is there any other way ?

On Feb 8, 2:30 pm, karthik vadapalli karthik29...@gmail.com wrote:
 http://stackoverflow.com/questions/7116758/how-to-hide-column-in-cell...
 watch this it might be useful for you

 On Wed, Feb 8, 2012 at 2:53 PM, Vibhas Zanpure 
 vibhas.zanp...@gmail.comwrote:









  Hello,

  I tried using setColumnWidth to 0px and also tried clearColumnWidth...
  But its not working... Any suggestions? I am using IE8 in quirks
  mode...Thanks in advance

  --
  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.

 --
 Regards,
 v.karthik,
 +919967930663.

-- 
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.



Re: How to hide a column in CellTable

2012-02-08 Thread Ümit Seren
Well the stackoverflow thread has actually the solution. You can just 
remove the column and add it when you need it. 

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/pF4OPXWUxNoJ.
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.