3.2.0

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
August 23,
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[" + y + "][3].length) == myData2[" + y + "][3].substr(0, myData2[" + y + "][3].length)')"}

instead of :
(datachoices[y][2] == "1"){condi3="eval('GlobData[' + x + '][" + condi2 + "].substr(0, myData2[" + y + "][3].length) =myData2[" + y + "][3].substr(0, myData2[" + y + "][3].length)')"}


the page is already updated
Carlos
August 23,

This topic is archived.

See also:


Back to support forum