Hi!

> Using Bootgrid the TD column html is converted into string.

It's very strange, do you check your SQLFORM.grid  without using Bootgrid? 
May be it happens (html to string) at server-side? 
In your example  why do you set *data-formatter* if TD contains already 
rendered link?


On Sunday, January 17, 2016 at 1:44:07 PM UTC+3, piero crisci wrote:
>
> Hi
> I am new using jQuery and not very skilled in general with Javascript.
> I am using the Basic Jquery Bootgrid example 
> <http://www.jquery-bootgrid.com/Examples>on a SQLFORM.grid and it worked 
> fine, except for one thing.
> One of the TD column contains a "Server Generated link" with 
> user_signature. 
> Using Bootgrid the TD column html is converted into string.
> I recreated the link with the javascript as showed in the examples but I 
> would like to use the link created from server side. 
> Anyone using the bootgrid knows if there is a property that i can use to 
> let Jquery Bootgrid not modify the link rendered by the server?
>
> Here is an example of what I did (3rd TD tag)
> <table id="grid-basic" class="table table-condensed table-hover 
> table-striped">
>     <thead>
>         <tr>
>             <th data-column-id="id" data-type="numeric">ID</th>
>             <th data-column-id="sender">Sender</th>
>             <th data-column-id="link" data-formatter="link" 
> data-order="desc">Received</th>
>         </tr>
>     </thead>
>     <tbody>
>         <tr>
>             <td>10238</td>
>             <td>xx...@pingpong.com <javascript:></td>
>             <td><a href="*www.google.com 
> <http://www.google.com/>?book=Pippo&signature=32hih327dsa*">Book</a></td>
>         </tr>
>     </tbody>
> </table>
> I would like to keep the red link is it possible?
>
> Thanks for help
> Kind Regards
> Piero
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to