Saturday, March 19, 2016

Re: Updating CellTable row style

Thanks for the reply Jens!

I tried adding 

mappings.getRowElement(event.getValue().getExecutionOrder()).getStyle().setBorderStyle(BorderStyle.SOLID);

 But it didn't work :(


mappings.getRowElement(event.getValue().getExecutionOrder() ).getStyle().setBackgroundColor("Red");

did change the background colour of rows, though.


I don't understand why one style gets applied and other doesn't. 


On Saturday, March 19, 2016 at 6:07:10 PM UTC+5:30, Jens wrote:
I guess your border-style is still set to "none" (the default value) because you have not set any. You need to set it to "solid" for example.

-- J.

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment