Hi,

Can I Hide the aditional links created at every row related to foreign heys
in SQLFORM.smartgrid?

I have many tables relationed to the table that I using with smartgrid and
this added button to that tables making the row very long

2011/9/23 Jim Steil <j...@qlf.com>

>  Add paginate=5 to your smartgrid call:
>
> grid = SQLFORM.smartgrid(db.member, paginate=5)
>
>     -Jim
>
>
> On 9/23/2011 9:51 AM, António Ramos wrote:
>
> But imagine i want a web page with 4 smartgrids. I need space for the 4
> smartgrids so i have to make them smaller.
>
>  How do i resize them to only show for example 5 records each?
>
>
>
>
> 2011/9/23 Massimo Di Pierro <massimo.dipie...@gmail.com>
>
>> It paginates automatically
>>
>> On Sep 23, 6:50 am, António Ramos <ramstei...@gmail.com> wrote:
>> > how to paginate with the smartgrid?
>> >
>>  > 2011/8/29 stephanl <sla...@gmx.net>
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> > > Hi,
>> >
>> > > I found a small bug:
>> >
>> > > You can get to the edit form by clicking the 'Edit' button in one row
>> of
>> > > the grid.
>> > > It calls this URL:
>>  > >
>> http://127.0.0.1:8000/test/default/index/person/edit/person/1?_signat....
>> > > ..
>> > > So far so good
>> >
>> > > Using the view button in a row you can get to the non editable form of
>> a
>> > > single record. There is an 'Edit' button too, but that one is defunct.
>> It
>> > > tries to send you to that URL:
>>  > >
>> http://127.0.0.1:8000/test/default/index/person/Edit/person/1?_signat....
>>  > > ..
>> > > the difference is the capitalised 'Edit' in the URL, which causes the
>> > > problem.
>> >
>> > > In any case, I think the grid/smartgrid thingy is a great new feature
>> of a
>> > > great framework, thank you for that.
>> >
>> > > stephan
>>
>
>

Reply via email to