If you have no particular reason to use jqGrid, for example inline edition
or other feature that offer this jQuery plugin stay away from it because
not many users here we be able to help you with it. You will have much more
help if you stick with web2py feature like SQLFORM.grid().

Cheer!

Richard


On Wed, Mar 6, 2013 at 3:32 AM, <openo...@gmail.com> wrote:

> Richard, dlypka, Willoughby
>
> Thanks for your reply. I think that I am going to see the SQLFORM and its
> possibilities (I follow the Richard 's advice ). I don't know javascript
> and I think it will be too complicated to do an application quickly if I
> have to learn JQuery. I am going to try all the tools given by Web2py
> first.
>
> See you soon, I think !!!
>
> Regards
> Bruno
>
>
> On Tuesday, March 5, 2013 7:19:45 PM UTC+1, open...@gmail.com wrote:
>
>> Hi,
>>
>> I am newbee on Web2py, I am exploring it. I installed the jqGrid_plugin
>> that works fine. But now I should like to get back the id of the record or
>> the valor of a field but it is a JQuery that I don't know. I did this code:
>>
>> <h1>It is my table </h1>
>> <div class="tab" id="t" >
>>     {{=plugin_jqgrid(db.image,**columns=['id','titre'],height=**300)}}
>> </div>
>>
>> <script>
>>  jQuery('.tab').click(function**(){jQuery('.tab').hide()})
>> </script>
>>
>> I have found the link to the jqGrid Demo but  I don't understand how to
>> adapt this code I found, in web2py. There is maybe a special way :
>>
>> jQuery("#a1").click( function(){
>>         var id = jQuery("#list5").jqGrid('**getGridParam','selrow');
>>         if (id) {
>>                 var ret = jQuery("#list5").jqGrid('**getRowData',id);
>>                 alert("id="+ret.id+" invdate="+ret.invdate+"...");
>>         } else { alert("Please select row");}
>>
>> Somebody can help me or give to me some links to read,
>>
>> Regards,
>> Bruno
>>
>>
>>  --
>
> ---
> 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/groups/opt_out.
>
>
>

-- 

--- 
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/groups/opt_out.


Reply via email to