:: Forum >> Version 1 >>

Using AW as a query expression builder .......

As an extension of Filtering & Paging sample;
http://activewidgets.com/javascript.forum.6670.3/index-is-reset-in-arrays.html

I made a query builder inside a grid that filters an array, but could be used for a Server-DB.
NOTES////
Doesn't work with first column (labeled "Deleted")
If any cell of a row is empty, this row is not evaluated

http://www.telefonica.net/web2/webtress/awsamp/examples/query_sample.html

HTH
Carlos
Tuesday, August 23, 2005
I found a "small" bug ;-) into "Begin with" operator.
line 297 changed "=" with "=="
so:
(datachoices[y][2] == "1"){condi3="eval('GlobData[' + x + '][" condi2 "].substr(0, myData2[" "][3].length) == myData2[" "][3].substr(0, myData2[" "][3].length)')"}
 
instead of :
(datachoices[y][2] == "1"){condi3="eval('GlobData[' + x + '][" condi2 "].substr(0, myData2[" "][3].length) =myData2[" "][3].substr(0, myData2[" "][3].length)')"}
 
the page is already updated
Carlos
Tuesday, August 23, 2005



This topic is archived.

Back to support forum

Forum search