Maybe your best bet is to use a computed column.

http://web2py.com/books/default/chapter/29/06#Computed-fields

Il giorno giovedì 30 maggio 2013 15:18:40 UTC+2, Pawan Jha ha scritto:
>
> thanks i am using this but i need to implement short by this column value 
>
>
> On Thu, May 30, 2013 at 6:46 PM, Anthony <[email protected] 
> <javascript:>>wrote:
>
> From the book:
>
> *links is used to display new columns which can be links to other pages. 
> The links argument must be a list of dict(header='name',body=lambda row: 
> A(...)) where header is the header of the new column and body is a 
> function that takes a row and returns a value. In the example, the value is 
> a A(...) helper.*
>
>
> Unfortunately, I don't think you can sort by the value of a "links" column.
>
> Anthony
>
>
>

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to