I am trying to set the column width to zero in a GWT-GRID in order to make it hidden.
I tried
grid.GetColumnFormatter().setWidth(0, "0px");
But nothing happened.Is there any other way?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In grid, whether you use
FlexTableFormatter()orColumnFormatter(), each column will occupy its size. In case if you want to resctrict it by some pixels you can do it. But you can not make it 0.Rather you can make add particular column run time.