how to search dynamic table

I

ipy2006

How can I filter a dynamically created table with some search
criteria. Are there any examples any where for this. Here is what I am
looking for,

Table
Column A Column B Column C
a1 b4 c90
a2 b9 c30
a3 b3 c37
a4 b2 c48
a3 b13 c54

If I have a search/filter screen to filter only those rows that have
a3 in column A

I should get

Column A Column B Column C
a3 b3 c37
a3 b13 c54

Please help,
yip
 
R

RobG

How can I filter a dynamically created table with some search
criteria. Are there any examples any where for this. Here is what I am
looking for,

Table
Column A Column B Column C
a1 b4 c90
a2 b9 c30
a3 b3 c37
a4 b2 c48
a3 b13 c54

If I have a search/filter screen to filter only those rows that have
a3 in column A

I should get

Column A Column B Column C
a3 b3 c37
a3 b13 c54

Please help,
yip

Loop through the table rows, inspect the content of the relevant
cells. If they fit your criterion, set the row's style.display
property to "" (empty string). If not, set it to "none".

You can also use XSLT or XPath, but that may no be useful on the web.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top