may i know how to add this settler myself? i tried opening the jar and add in this method. but the jar can't seems to work properly after that.
On May 19, 11:37 am, VizBoy <viz...@google.com> wrote: > Thanks Eric. > > Will add this (setters) to the feature request list. > > - VizBoy. > > On Mon, May 18, 2009 at 4:56 PM, Eric Z. Ayers <zun...@google.com> wrote: > > > > > It looks like we forgot to add setters to the Properties object > > > Here's a workaround: > > > static native Properties createRedProperties() /*-{ > > return { 'style' : 'background-color: red' }; > > }-*/; > > > ... > > > data.setCell(i, 1, value, createRedProperties(), null); > > > On May 18, 1:01 am, VizBoy <viz...@google.com> wrote: > > > Hi, > > > > As you can see under custom properties: > >http://code.google.com/apis/visualization/documentation/gallery/table... > > > > You can use calls like > > > > dataTable.setCell(22, 2, 15, 'Fifteen', {style: 'font-style:bold; > > > font-size:22px;'}); > > > > This works fine in JavaScript. Do you need to be able to do it through > > GWT? > > > This has nothing to do with formatters by the way, which change much more > > > than the style and do it automatically, i.e., you do not specify your own > > > css. > > > > - VizBoy. > > > > On Wed, May 13, 2009 at 2:58 PM, imgnik <ytbr...@gmail.com> wrote: > > > > > hi all, > > > > > i know this is kinda newbie question. > > > > > but can someone kindly tell me how to do it ? > > > > > in gwt, there is no formatter. > > > > > i tried this but it's not working. data.setCell(i, 1, value, > > > > "background-color: red", null); > > > > > regards > > > > imgnik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-api@googlegroups.com To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---