Re: GWT 2.1 how to customize style for TextColumn
Hello, I have to use this data presentation widget for my project. Can anybody help me how to use it or any sample code for that would be very helpful. Regards Deepak On Tue, Jul 27, 2010 at 2:07 AM, Ted ted.slus...@gmail.com wrote: Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@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: GWT 2.1 how to customize style for TextColumn
Hi Christian, Thanks for the link. The Column object doesn't appear to have a way to set the style. There are no setStyleName or addStyleNames methods to call as in UIObject. I am hoping there is an alternative way but I cannot discover it yet. Thanks, Ted On Jul 27, 9:18 am, Christian Goudreau goudreau.christ...@gmail.com wrote: http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-pr... As for customization, use the same technique as for any other widget. Cheers, On Tue, Jul 27, 2010 at 10:04 AM, Deepak Singh deepaksingh...@gmail.comwrote: Hello, I have to use this data presentation widget for my project. Can anybody help me how to use it or any sample code for that would be very helpful. Regards Deepak On Tue, Jul 27, 2010 at 2:07 AM, Ted ted.slus...@gmail.com wrote: Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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-tool...@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: GWT 2.1 how to customize style for TextColumn
You're right, but if a row can have his style changed, I bet a Cell can too. Give me 10 minutes, I'll do a fast check, I'm also right into this stuff right now. Cheers, On Tue, Jul 27, 2010 at 2:37 PM, Ted ted.slus...@gmail.com wrote: Hi Christian, Thanks for the link. The Column object doesn't appear to have a way to set the style. There are no setStyleName or addStyleNames methods to call as in UIObject. I am hoping there is an alternative way but I cannot discover it yet. Thanks, Ted On Jul 27, 9:18 am, Christian Goudreau goudreau.christ...@gmail.com wrote: http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-pr... As for customization, use the same technique as for any other widget. Cheers, On Tue, Jul 27, 2010 at 10:04 AM, Deepak Singh deepaksingh...@gmail.com wrote: Hello, I have to use this data presentation widget for my project. Can anybody help me how to use it or any sample code for that would be very helpful. Regards Deepak On Tue, Jul 27, 2010 at 2:07 AM, Ted ted.slus...@gmail.com wrote: Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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-tool...@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: GWT 2.1 how to customize style for TextColumn
Ok, in CellTable you have a function for this : ct.addColumnStyleName(). That would change the column number. But need more infomrations, you want to set the style of a single cell or of an entire row ? Cheers, On Tue, Jul 27, 2010 at 2:41 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: You're right, but if a row can have his style changed, I bet a Cell can too. Give me 10 minutes, I'll do a fast check, I'm also right into this stuff right now. Cheers, On Tue, Jul 27, 2010 at 2:37 PM, Ted ted.slus...@gmail.com wrote: Hi Christian, Thanks for the link. The Column object doesn't appear to have a way to set the style. There are no setStyleName or addStyleNames methods to call as in UIObject. I am hoping there is an alternative way but I cannot discover it yet. Thanks, Ted On Jul 27, 9:18 am, Christian Goudreau goudreau.christ...@gmail.com wrote: http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-pr. .. As for customization, use the same technique as for any other widget. Cheers, On Tue, Jul 27, 2010 at 10:04 AM, Deepak Singh deepaksingh...@gmail.comwrote: Hello, I have to use this data presentation widget for my project. Can anybody help me how to use it or any sample code for that would be very helpful. Regards Deepak On Tue, Jul 27, 2010 at 2:07 AM, Ted ted.slus...@gmail.com wrote: Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- Christian Goudreau -- 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-tool...@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: GWT 2.1 how to customize style for TextColumn
Else for a row. ct.getRowElement(i).setAttribute(style, width: 200px;); For now, those are the only thing a could see On Tue, Jul 27, 2010 at 2:51 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: Ok, in CellTable you have a function for this : ct.addColumnStyleName(). That would change the column number. But need more infomrations, you want to set the style of a single cell or of an entire row ? Cheers, On Tue, Jul 27, 2010 at 2:41 PM, Christian Goudreau goudreau.christ...@gmail.com wrote: You're right, but if a row can have his style changed, I bet a Cell can too. Give me 10 minutes, I'll do a fast check, I'm also right into this stuff right now. Cheers, On Tue, Jul 27, 2010 at 2:37 PM, Ted ted.slus...@gmail.com wrote: Hi Christian, Thanks for the link. The Column object doesn't appear to have a way to set the style. There are no setStyleName or addStyleNames methods to call as in UIObject. I am hoping there is an alternative way but I cannot discover it yet. Thanks, Ted On Jul 27, 9:18 am, Christian Goudreau goudreau.christ...@gmail.com wrote: http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-pr. .. As for customization, use the same technique as for any other widget. Cheers, On Tue, Jul 27, 2010 at 10:04 AM, Deepak Singh deepaksingh...@gmail.comwrote: Hello, I have to use this data presentation widget for my project. Can anybody help me how to use it or any sample code for that would be very helpful. Regards Deepak On Tue, Jul 27, 2010 at 2:07 AM, Ted ted.slus...@gmail.com wrote: Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- Christian Goudreau -- Christian Goudreau -- 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-tool...@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: GWT 2.1 how to customize style for TextColumn
Hi Christian, When I override the render object of Column I can nest a span inside the td for that cell. This way I can control the style of the span. However if there is a way to control the style of the td I would be interested in what you can discover. Thanks, Ted On Jul 27, 1:41 pm, Christian Goudreau goudreau.christ...@gmail.com wrote: You're right, but if a row can have his style changed, I bet a Cell can too. Give me 10 minutes, I'll do a fast check, I'm also right into this stuff right now. Cheers, On Tue, Jul 27, 2010 at 2:37 PM, Ted ted.slus...@gmail.com wrote: Hi Christian, Thanks for the link. The Column object doesn't appear to have a way to set the style. There are no setStyleName or addStyleNames methods to call as in UIObject. I am hoping there is an alternative way but I cannot discover it yet. Thanks, Ted On Jul 27, 9:18 am, Christian Goudreau goudreau.christ...@gmail.com wrote: http://stackoverflow.com/questions/2891803/how-to-use-gwt-2-1-data-pr... As for customization, use the same technique as for any other widget. Cheers, On Tue, Jul 27, 2010 at 10:04 AM, Deepak Singh deepaksingh...@gmail.com wrote: Hello, I have to use this data presentation widget for my project. Can anybody help me how to use it or any sample code for that would be very helpful. Regards Deepak On Tue, Jul 27, 2010 at 2:07 AM, Ted ted.slus...@gmail.com wrote: Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Christian Goudreau -- 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-tool...@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.
GWT 2.1 how to customize style for TextColumn
Hello, Does anyone have a suggestion for the preferred way to customize a style for a given cell using a TextColumn with the new Data Presentation Widgets framework in GWT 2.1? Thanks, Ted -- 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-tool...@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.