On Jueves, 1 de Julio de 2010 15:23:05 djfolchetto escribió:
> Sorry for the delay in my reply. I try to explain better what I want
> to do. In my active scaffold I have added an action "Print" to print
> the active scaffold. If I insert the "Search" criteria, the scaffold
> shows a subset of database records satisfying my criteria. Printing
> this active scaffold, excluding the "div" section of currnet view, the
> print result on paper is a set of items with the last columns
> containing the actions (edit, delete, etc...) and without the grids of
> scaffold. My first request is to print the activescaffold without the
> column of actions and the last request is to print the activescaffold
> content applying a stylesheet. I tried to get the records of AS
> displayed throuth "records = find_page().items" in the controller
> print routine, but the active scaffold returns all records of database
> and not the filtered ones. Is it right this way to manage the scaffold
> items or do you know other ways to print an activescaffold with the
> records filtered?

Don't use a print action to print, add a stylesheet for print media, hidding 
what you don't want to print.


-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en.

Reply via email to