You should add that method in your own codebase, not in the jar.

- VizBoy.

On Wed, Jun 3, 2009 at 2:20 AM, twittwit <[email protected]> wrote:

>
> 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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to