Re: How to mark a field as completely hidden for smartgwt ListGrid?

2013-05-23 Thread Gustavo Matias
actullally,  

listGrid.hideField("my_field"); worked too, but I had to make sure this was 
set AFTER the field was added and its values set.

On Wednesday, January 4, 2012 5:04:23 AM UTC-5, Daniel wrote:
>
> Hi guys, 
>
> How to mark a field as completely hidden for smartgwt ListGrid? 
> I do listGridFields[i].setHidden(true) according to API,But it still 
> could be able to show the field via a context menu. 
> and the API said 'canPickFields' has been set false can solve this 
> problem,but where the canPickFields ? 
>
> Thank you 
>
> Best Regards 
> Daniel

-- 
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+unsubscr...@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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to mark a field as completely hidden for smartgwt ListGrid?

2013-05-23 Thread Gustavo Matias
 

setCanHide(flase) didn't work for me... I had to set the height of the 
field as 0. field.setWidth(0);

On Wednesday, January 4, 2012 5:04:23 AM UTC-5, Daniel wrote:
>
> Hi guys, 
>
> How to mark a field as completely hidden for smartgwt ListGrid? 
> I do listGridFields[i].setHidden(true) according to API,But it still 
> could be able to show the field via a context menu. 
> and the API said 'canPickFields' has been set false can solve this 
> problem,but where the canPickFields ? 
>
> Thank you 
>
> Best Regards 
> Daniel

-- 
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+unsubscr...@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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: How to mark a field as completely hidden for smartgwt ListGrid?

2012-08-16 Thread Frankee
On Wednesday, January 4, 2012 6:04:23 PM UTC+8, Daniel wrote:
> Hi guys,
> 
> 
> 
> How to mark a field as completely hidden for smartgwt ListGrid?
> 
> I do listGridFields[i].setHidden(true) according to API,But it still
> 
> could be able to show the field via a context menu.
> 
> and the API said 'canPickFields' has been set false can solve this
> 
> problem,but where the canPickFields ?
> 
> 
> 
> Thank you
> 
> 
> 
> Best Regards
> 
> Daniel

Try calling setCanHide() property of the ListGridField and pass "false" value.

-- 
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/-/wtfKgfL-G-UJ.
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 mark a field as completely hidden for smartgwt ListGrid?

2012-01-04 Thread Daniel
Hi guys,

How to mark a field as completely hidden for smartgwt ListGrid?
I do listGridFields[i].setHidden(true) according to API,But it still
could be able to show the field via a context menu.
and the API said 'canPickFields' has been set false can solve this
problem,but where the canPickFields ?

Thank you

Best Regards
Daniel

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