Hi Sergio
Yay ! It works :-)
TQVM for the speedy response !
On Wednesday, April 5, 2017 at 10:56:06 PM UTC+8, Sergio Cambra wrote:
>
> El miércoles, 5 de abril de 2017 15:41:21 (CEST) Chee Chong Hwa escribió:
> > Hi Sergio
> >
> > Controller code :
> >
> > class TasksController < ApplicationController
> > active_scaffold :"task" do |conf|
> >
> > conf.label = "Tasks"
> > conf.columns = [:task,:date,:rootcause,:priority,:suggestion,
> >
> > :action,:completed, :version,:date_completed ]
> >
> > conf.columns[:rootcause].form_ui = :record_select
> > conf.columns[:action].options = { :cols => 160, :rows => 6 }
> > conf.columns[:suggestion].options = { :cols => 160, :rows => 6 }
> > # 3/3/17
> > conf.columns[:priority].form_ui = :record_select
> > # 3/3/17
> >
> > list.sorting = {:task => 'ASC'}
> > * list.per_page=5*
>
> Try with conf.list.sorting and conf.list.per_page
>
>
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.