<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sun, Jun 1, 2014 at 12:28 AM, Smita <span dir="ltr"><<a href="mailto:kumarismita62@gmail.com" target="_blank">kumarismita62@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div><div class="h5">On Sat, May 31, 2014 at 11:18 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 2014-05-31 13:04, Smita a écrit :<br>
<div>><br>
> On Sat, May 31, 2014 at 9:01 PM, Ashutosh Dhundhara<br>
</div><div>> <<a href="mailto:ashutoshdhundhara@yahoo.com" target="_blank">ashutoshdhundhara@yahoo.com</a> <mailto:<a href="mailto:ashutoshdhundhara@yahoo.com" target="_blank">ashutoshdhundhara@yahoo.com</a>>> wrote:<br>

><br>
>     Hi Smita,<br>
><br>
>     You can exempt particular columns from searching by not specifying<br>
>     them in the target columns. As an example :<br>
><br>
><br>
>     $.uiTableFilter($target_table, phrase, target_columns);<br>
><br>
><br>
>     the above code will consider searching the "phrase" only in the columns specified in target_columns array.<br>
><br>
>     Same is done in PMA for filtering on-screen rows on "Browse" tab for a table.<br>
><br>
>     You can see the code for it in sql.js from line number 413 as of current master.<br>
><br>
><br>
> Hi<br>
> Thanks. But my issue is little different. In a particular column, I have<br>
> some hidden text that I want to exempt from searching, while I need<br>
> visible text to be searched as usual.<br>
><br>
> btw I got it working, I have modified the jquery.uitablefilter.js as per<br>
> my need.<br>
> I have added a new argument to uiTableFilter function that takes exactly<br>
> what element within "tr" tag, you want to search. So i can pass the<br>
> visible element tag eg "td span" in my case. Default value will be "td",<br>
> So wherever else this function has been used earlier will continue to<br>
> work the same.<br>
><br>
> Marc, I wanted to ask if it is okay to modify the jQuery plugins being<br>
> used ?<br>
<br>
</div>Hi Smita,<br>
yes, this is the beauty of open-source licenses; see [0] at section 2.<br>
<br>
Normally, you should contribute back your changes. Looking at the<br>
header, we are using the "Multi-columns fork by natinusala", so please<br>
fork [1] and send them a pull request containing your changes.<br>
<br></blockquote></div></div><div>Sure, Thanks. I'll send them a pull request :-)<br> <br></div><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

If natinusala does not merge your changes after a certain time, you<br>
probably should keep your own fork containing your changes, and mention<br>
this fork in the header of the js file, like natinusala did.<br> 
<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
By the way, looks like natinusala did not send a pull request for his<br>
changes, to gregwebs, so I'm not sure what's going on here.<br>
<br></blockquote></div><div>gregwebs [2] also have the same copy, the one we have . so it seems he has merged the pull request from natinusala. <br></div></div></div></div></blockquote><div>gregwebs merged my pull request [3]. :-) <br>
</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

[0] <a href="http://www.gnu.org/licenses/gpl-2.0.html" target="_blank">http://www.gnu.org/licenses/gpl-2.0.html</a><br>
<br>
[1] <a href="https://github.com/natinusala/jquery-uitablefilter" target="_blank">https://github.com/natinusala/jquery-uitablefilter</a><br></blockquote><div> </div></div><div> [2] <a href="https://github.com/gregwebs/jquery-uitablefilter/blob/master/jquery.uitablefilter.js" target="_blank">https://github.com/gregwebs/jquery-uitablefilter/blob/master/jquery.uitablefilter.js</a> <br>
</div></div></div></div></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<div>
</div><div><div class="h5"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">><br><div>
> - Smita<br>
><br>
> Regards,<br>
> Ashutosh Dhundhara<br>
> On Saturday, 31 May 2014 6:45 PM, Smita <<a href="mailto:kumarismita62@gmail.com" target="_blank">kumarismita62@gmail.com</a><br>
</div><div>> <mailto:<a href="mailto:kumarismita62@gmail.com" target="_blank">kumarismita62@gmail.com</a>>> wrote:<br>
><br>
><br>
> Hi<br>
><br>
> I'm using uiTableFilter to search for table rows. If no hidden element<br>
> is in table it works fine But if table has some hidden elements it also<br>
> shows a particular row if text within a hidden element of a row/column<br>
> matches the search text.<br>
><br>
> Within my table I have hidden form input/select elements and I don't to<br>
> show the filter results based on hidden element match, as to user it<br>
> will seem as search result being displayed is wrong.<br>
> Please help if anybody have any idea about how to fix it.<br>
><br>
> Thanks and Regards<br>
> - Smita<br>
><br>
> ------------------------------------------------------------------------------<br>
<br>
<br>
</div><span><font color="#888888">--<br>
Marc Delisle | phpMyAdmin<br>
</font></span><div><div><br>
------------------------------------------------------------------------------<br>
Time is money. Stop wasting it! Get your web API in 5 minutes.<br>
<a href="http://www.restlet.com/download" target="_blank">www.restlet.com/download</a><br>
<a href="http://p.sf.net/sfu/restlet" target="_blank">http://p.sf.net/sfu/restlet</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net" target="_blank">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>