Excellent . That worked fine , How do i change the style based on the value . I want to show red color for cells in certain column of the cell Table , if value of that cell is less than 100 .
On Wed, Sep 21, 2011 at 12:06 AM, Sudhakar Abraham < s.abra...@datastoregwt.com> wrote: > To change the property of .cellTableEvenRow , .cellTableOddRow in > CellTableStyle.css. Inject your CellTableStyle.css in client side > code. > > //client side code > interface TableResources extends CellTable.Resources > { > @Source(value = { CellTable.Style.DEFAULT_CSS, > "CellTableStyle.css" }) > CellTable.Style cellTableStyle(); > } > > CellTable table = new CellTable<String>(15, GWT.<TableResources> > create(TableResources.class)); > > //CellTableStyle.css > > .cellTableCell { > height: 35px; > cursor: pointer; > padding: 2px 25px; > } > .cellTableEvenRow { > background: #fffaf0; > font-size:12px; > } > > .cellTableOddRow { > background: #fff8e8; > } > > S. Abraham > www.DataStoreGwt.com > Persist objects directly in GAE > > > On Sep 21, 7:04 am, gangurg gangurg <gang...@gmail.com> wrote: > > I am trying to come up with styling of Cell Table . However not able to > > figure out how . > > > > Trying to achieve > > 1. Should be able to Style any given row of a Cell table > > 2, Any Column of a Cell table > > 3. dynamically style any particular cell of a cell table . > > > > I tried to do the style sheet injection means by using resource , but its > > not helping me . I would appreciate any working example for the same . > > -- > 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. > > -- 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.