I could really need some help, i am lost with this problem and i have
got no idea ho to fix this...
Id really appreciate any help!

thanks

On Mar 19, 10:28 am, "[email protected]"
<[email protected]> wrote:
> Well, this is pure js, isnt it? It simply parses the JSON and creates
> how can i give the object a diffrent name each time it is initialized?
> Something like an iterator...
> This is kinda wierd, that this doesnt work out of the box.
>
> Well i think it is easier to give you the 
> link:http://clients.station.ch/hardwarelist/
>
> On Mar 18, 3:47 pm, VizBoy <[email protected]> wrote:
>
> > Please try to generate a simple pure-javascript example.
> > There shouldn't be a problem with creating multiple tables.
> > Try to give them different names, although I don't see the problem with
> > giving them the same name.
> > Anyway, once you have a working pure-javascript example, we can help you
> > debug it.
>
> > Regards,
> >     VizBoy.
>
> > On Wed, Mar 18, 2009 at 11:25 AM, [email protected] <
>
> > [email protected]> wrote:
>
> > > Someone got some ideas?
>
> > > On Mar 17, 4:46 pm, "[email protected]"
> > > <[email protected]> wrote:
> > > > I am parsing JSON generated by php. This is how i populate the table:
>
> > > >                 fulllist['groups'].each(function(fulllist, index){
> > > >                         var data = new google.visualization.DataTable();
> > > >                         groups = fulllist;
> > > >                         groups['fields'].each(function(field, index){
> > > >                         data.addColumn('string', field.field_name);
> > > >                         });
> > > >                         data.addColumn('string', 'delete');
> > > >                         if(groups['items'] != null){
> > > >                                 groups['items'].each(function(item,
> > > rowindex){
> > > >                                         data.addRows(1);
>
> > > item['values'].each(function(value, index){
> > > >                                                 data.setCell(rowindex,
> > > index, value.value, '<span
> > > > class="valueedit" id="valueedit_'+ value.value_id +'">' + value.value
> > > > + '</span>');
> > > >                                         });
> > > >                                 });
> > > >                         }
> > > >                         data.sort([{column: 0}]);
> > > >                         var table = new
> > > google.visualization.Table(document.getElementById
> > > > (fulllist.id));
> > > >                         table.draw(data, {showRowNumber: false,
> > > allowHtml: true});
> > > >                 });
>
> > > > On Mar 17, 4:34 pm, rcrisman <[email protected]> wrote:
>
> > > > > Can you give us an example. and how are you generating the data.  PHP,
> > > > > Java????
>
> > > > > On Mar 17, 11:26 am, "[email protected]"
>
> > > > > <[email protected]> wrote:
> > > > > > hi
> > > > > > I am generating multiple tables dynamically.  my problem is that 
> > > > > > only
> > > > > > the last of these tables is sortable.
> > > > > > how could i solve this problem? if it helps: i use the same name for
> > > > > > the object each time i intialize the datatable.
>
> > > > > > thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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