One other option is to create all of the versions on the server at the 
initial page request, but hide two of the versions and just use Javascript 
to change which one is displayed.

Anthony

On Sunday, May 19, 2013 9:17:56 AM UTC-4, Niphlod wrote:
>
> then it'll be hard. 
> ruling out making those transformations with javascript, the only way is 
> to change the represent attribute for all fields and reload the grid 
> (reloading the page or the part where the grid is) 
>
> On Sunday, May 19, 2013 11:14:57 AM UTC+2, Vlasov Vitaly wrote:
>>
>>  Thanks. I will try both advices.
>>
>> From SQLFORM.grid() i need a ability to point a style of data records 
>> with buttons.
>>
>> Exaple:
>> http://itmages.com/image/view/1034098/6bd25971
>>
>> Second Button make data as strings(as SQLFORM.grid() do).
>> First Button make data as short text with pictures.
>> Third Button make data as full text with pictures.
>>
>> That is what i wont from SQLFORM.grid().
>>
>

-- 

--- 
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