I wrote, not to use jquery, not js at all!

The reason for my thread here was: what is the web2py way of getting this 
row-link.

Am Montag, 13. Mai 2013 22:56:48 UTC+2 schrieb Niphlod:
>
> I may be missing something but without javascript there's no way to turn a 
> TR into a "clickable something".
>
> jQuery or not, it's easier to handle a click on a tr and make it working 
> as a uber-button with javascript (at most 5 lines of code with a framework 
> like jquery) than turning all the markup inside out....
>
> You'd have to have an entirely different markup to accomplish what you 
> want without javascript, and sincerely, it's not grid's concern to have it 
> transformed "the way you'd want it"
>
> table:
>    <table>
>        <tr>
>           <td>row 0, column 0</td>
>           <td>row 0, column 1</td>
>        </tr>
>
>        <tr>
>           <td>row 1, column 0</td>
>           <td>row 1, column 1</td>
>        </tr>
>    </table>
>
> vs "all clickable something"
>
> <div>
>    <a>row0, col0 <someseparatorlogic> row0, col1 </a>
>    <a>row1, col0 <someseparatorlogic> row1, col1 </a>
> </div>
>
> good luck with the latter (while keeping the "table's cells" aligned)
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to