3.0 beta 2

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

As an extension of Filtering & Paging sample;
/datagrid.6670/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

Search

Version 2

Looking for AW 2.6 ?
The old site is here.