Hi,
if you want to search for table data that matches a string, you can just
use a RegEx filter:
var valore=cerca.getValue();
tm.addRegex(valore, "Cliente", true);
Is that what you're looking for?
Regards,
Daniel
On 03/13/2012 12:08 PM, matteomasina wrote:
> Hi,
>
> I have another question about the filtered table.
>
> I have a text field where the user write what to search inside the table.
>
> I need to do something like this :
>
> IndexOf(textfield.getValue())<>-1
>
> but the problem is how to create a condition like this ?
>
> I need to search if exists something that contain the textfield value
>
> my example:
>
> var valore=cerca.getValue();
>
> tm.addNumericFilter("!=", valore, "Cliente");
> tm.applyFilters();
>
>
> I need to substitute something with valore --> like : indexOf(valore)
>
> Is that possible ?
>
> Thanks
>
>
>
>
> --
> View this message in context:
> http://qooxdoo.678.n2.nabble.com/search-in-qx-ui-table-model-Filtered-tp7368101p7368101.html
> Sent from the qooxdoo mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel