<div dir="ltr">Muchas gracias Diego,<div><br></div><div>Saludos,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">El 10 de junio de 2014, 7:45, DiegoUG <span dir="ltr"><<a href="mailto:diego.uribe.gamez@gmail.com" target="_blank">diego.uribe.gamez@gmail.com</a>></span> escribió:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Hola,</p>
<p dir="ltr">En principio esta es la lista de python, si vas a hablar de Django te recomiendo usar la lista correcta <a href="mailto:django-es@googlegroups.com" target="_blank">django-es@googlegroups.com</a></p>
<p dir="ltr">Por otro lado esto parece una consulta de jquery, para estas consultas también tienen sus espacios, foros y listas de correo que aunque son en ingles pues son muy útiles </p>
<p dir="ltr">Saludos.</p>
<div class="gmail_quote">El jun 9, 2014 9:40 PM, "Marco Herrarte" <<a href="mailto:marco.kuait@gmail.com" target="_blank">marco.kuait@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="auto"><span>Buenas gente,</span><br><br><div>En django 1.6 genero la siguiente tabla: </div><div><pre style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;vertical-align:baseline;overflow:auto;width:auto;max-height:600px;word-wrap:normal">
<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;white-space:normal;background-color:rgba(255,255,255,0)"><font face="UICTFontTextStyleBody"><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">table id</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">"table"</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">class</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">"table table-striped table-hover table-condensed"</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">thead</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">tr</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">th</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">User</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">th</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">th</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">Company</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">th</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">tr</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">thead</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">tbody</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">{%</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">for</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> user </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">in</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> user_list </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">%}</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">tr</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">td</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">a href</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">=</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">"{% url 'user:edit_user' user %}"</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">>{{</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> user </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">}}</</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">a</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">td</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"><</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">td</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">>{{</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> user</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">userprofile</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">.</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">company </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">}}</</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">td</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">tr</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">{%</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"> endfor </span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">%}</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">tbody</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">
</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline"></</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">table</span><span style="margin:0px;padding:0px;border:0px;vertical-align:baseline">></span></font></code></pre>
</div><div>Tengo el requerimiento que debe existir un filtro, por tal he encontrado el siguiente plugin jquery: <a href="http://sunnywalker.github.io/jQuery.FilterTable/" target="_blank">http://sunnywalker.github.io/jQuery.FilterTable/</a></div>
<div><br></div><div>Este plugin crea un input sobre la tabla para filtrar los campos el cual me funciona bien si utilizo una tabla ya definida pero si género el html desde django no me apaaqrece el input del filtro</div>
<div>
<br></div><div>Alguien puede ayudarme indicando mi error o alguna solución?</div><div><br></div><div>Muchas gracias </div></div><br></div></div>_______________________________________________<br>
Python-es mailing list<br>
<a href="mailto:Python-es@python.org" target="_blank">Python-es@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-es" target="_blank">https://mail.python.org/mailman/listinfo/python-es</a><br>
FAQ: <a href="http://python-es-faq.wikidot.com/" target="_blank">http://python-es-faq.wikidot.com/</a><br>
<br></blockquote></div>
<br>_______________________________________________<br>
Python-es mailing list<br>
<a href="mailto:Python-es@python.org">Python-es@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-es" target="_blank">https://mail.python.org/mailman/listinfo/python-es</a><br>
FAQ: <a href="http://python-es-faq.wikidot.com/" target="_blank">http://python-es-faq.wikidot.com/</a><br>
<br></blockquote></div><br></div>