You can use CSS or Javascript. The record ID is stored as the "id" 
attribute of the row -- for example:

<tr class="even with_id" id="2">...</tr>

Anthony

On Wednesday, May 15, 2013 8:16:32 AM UTC-4, Pawan Jha wrote:
>
> Hi Every On i want to Customize my SQLFORM.grid according to row id if the 
>
> suppose 
> if row.id == 2
>   then the row color should be red
> if row.id == 3
>   then the row color should be Blue
> if row.id == 4
>   then the row color should be Black 
>
>
> how this will possible please suggest me 
>

-- 

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