[Phpmyadmin-devel] Table search using uiTableFilter help

Ashutosh Dhundhara ashutoshdhundhara at yahoo.com
Sat May 31 17:31:12 CEST 2014


Hi Smita,

You can exempt particular columns from searching by not specifying them in the target columns. As an example :


$.uiTableFilter($target_table, phrase, target_columns);

the above code will consider searching the "phrase" only in the columns specified in target_columns array.
Same is done in PMA for filtering on-screen rows on "Browse" tab for a table.
You can see the code for it in sql.js from line number 413 as of current master.

 
Regards, 
Ashutosh Dhundhara
On Saturday, 31 May 2014 6:45 PM, Smita <kumarismita62 at gmail.com> wrote:
 


Hi

I'm using uiTableFilter to search for table rows. If no hidden element is in table it works fine But if table has some hidden elements it also shows a particular row if text within a hidden element of a row/column matches the search text. 

Within my table I have hidden form input/select elements and I don't to show the filter results based on hidden element match, as to user it will seem as search result being displayed is wrong. 

Please help if anybody have any idea about how to fix it.


Thanks and Regards

- Smita

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20140531/cf08a78a/attachment.html>


More information about the Developers mailing list