3.0.5

Change xpath of grid without re-requesting xml?

Is there anyway to change the xpath expression of the grid control without re-requesting the xml file?
Jacob Singh
June 9,
Not in any natural way :-( but maybe this trick could work -

table.setXML(table.getXML());
Alex (ActiveWidgets)
June 12,
Nah, didn't work...

This is a pretty big limitation. It seems to mean all filtering has to happen on the server side.. Is this correct? Or am I missing something?

I tried table.setXML(table.getXML()); But this does nothing

I followed it with obj.refresh(), but this also yeilded no results...

I'm trying to build a system that will get an abstract xml document (not rdf, but something like it) and the doc comes with some field information. I built a select box where the user can select a field and a text box where they can enter in a filter and my function builds an xpath expression for the filter and runs it on the data. The problem is, I have to re-request the gigantic XML doc from the server this way. If I can't get it to work on the client side, I'll have to pass the variables to the server and have the server handle it, but this obviously is a lot slower and reduces some of the appeal of a client side (JS) solution...

Any advice appreciated.

Jacob
June 12,
Oops, sorry. Possibly this one should work -

table.response(table.getXML());
Alex (ActiveWidgets)
June 12,

This topic is archived.

See also:


Back to support forum