[web2py] Re: Data table

2010-05-08 Thread annet
Hi Sverre,

Here's an example of how you would make the id a link:


  

  company id
  company name

  
  
{{for company in rows:}}
  

  {{=A(company.id,_onmouseover="this.style.cursor='pointer';",
\
 
_onclick="javascript:clublocatordetails('%s')"%URL(r=request,f='details',args=[company.id]))}}


  {{=company.name}}

  
{{pass}}
  


Here the link opens a details view in a new window, but that's
optional.


Regards,

Annet.


[web2py] Re: Data table

2010-05-06 Thread Sverre


On 6 Mai, 08:25, annet  wrote:
> Hi Sverre,
>
> I am using Allan Jardine's DataTables:http://www.datatables.net/
>
> Regards,
>
> Annet.

This table is looking very nice. Thank you.


[web2py] Re: Data table

2010-05-05 Thread annet
Hi Sverre,

I am using Allan Jardine's DataTables: http://www.datatables.net/


Regards,

Annet.


[web2py] Re: Data table

2010-05-05 Thread mr.freeze
You have a few options:

SQLTABLE
Crud.select - an abstraction over SQLTABLE
WebGrid - http://web2pyslices.com/main/slices/take_slice/39
jqGrid plugin - http://web2py.com/plugins/default/jqgrid



On May 5, 6:08 am, Sverre  wrote:
> has someone a data table like here
>
> http://www.web2py.com/plugins/default/datatable
>
> but with the feature to make links in the id column?