Hi,

Browsers limit XHR (AJAX) requests to the same domain.
I would be glad to help you, as this might indeed be our bug.
But I need your help for that -- prepare me a page without php calls, only
javascript, that tries to recreate the problem. See if you can do that. Then
I can help you debug.

As for filtering, what kind of filtering do you need? There are a few ways
to filter data -- you can filter data in the server side, or send another
query on the server upon the user clicking, etc... Please define exactly
what you are trying to do.

Regards,
    VizBoy.

2009/3/24 [email protected] <[email protected]>

>
> Thanks for your replys.
>
> @ Максим Барбул:
>
> changing the divs name didnt affect my script in any way.
>
> @ VizBoy:
>
> i did remove the eventhandler (which i need anyway) but didnt affect
> my issues either.
>
> why cant you do it crossdomain? theres no restriction from my side...
>
> there are two php scripts generating json:
>
>
> http://clients.station.ch/hardwarelist/getfulllist.php
>
> This is the json for the entire value entries.
>
>
> http://clients.station.ch/hardwarelist/getgrouplist.php
>
> And this one only outputs the json for the groups and their fields.
>
>
> I'd really appreciate any help from your side. i feel kinda lost
> here...
>
> i already know which will be my next problem: i will have to filter
> the table. i found this tutorial for this topic:
>
>
> http://systemsbiology-visualizations.googlegroups.com/web/FilterDataTableControl.html?gda=WNl7lUwAAAAX7HhFJO7Iy7LL2bku9KuW4cnah4Zdb0EXZuPP6ti1kGG1qiJ7UbTIup-M2XPURDSeehBfVvx_oErqysnOmuxnm8gF_xjOwypP48gCFsJRGA
>
> but how can i filter all the tables together?
>
> thank you soooo much for your help
>
> Lukas
>
>
>
> On Mar 20, 5:46 pm, VizBoy <[email protected]> wrote:
> > This is indeed a strange behavior...
> > Two things I can suggest to you for now:
> > 1. Try seeing if it persists when you remove the event handlers on the
> sort.
> > 2. If you want me to help you debug, you have to send me a version
> without
> > calls to your php cause obviously I can't do them cross-domain..
> >
> > - VizBoy.
> >
> > On Fri, Mar 20, 2009 at 2:39 PM, [email protected] <
> >
> > [email protected]> wrote:
> >
> > > 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