I have submitted a ticket (along with a mod to SQLFORM.grid) on that and
Massimo is waiting on me to bring my code to the latest trunk level.
However, this issue is the reason that I haven't yet submitted it. I'd
like to be able to find a way to handle the paging/sorting issue inside
SQLFORM.grid to reduce the amount of boilerplate code needed to make my
search override form work.
My solution uses a DIV instead of a complete form and then uses the
search_widget within the .grid for display.
I'll see if I can get some time today to look at it again.
-Jim
On 12/16/2011 9:27 AM, JmiXIII wrote:
I agree with Jim S.
The grid is completely blank because it has lost the data.
Just discover it;
I think a nice way would be to use smartgrid:
form=SQLFORM.smartgrid(db.Rebuts,
details=False,
csv=False, search_widget=selection,
searchable=None,
paginate=15, maxtextlength=45)
I need to perform some logic after the submission, so I guess i Have
to go through selection.validate
I have never use it so I'm a bit reluctant, but I think this is athe
best way for my case