I might be completely misunderstanding you, but isnt this dealt with in AS columns? E.g.:
config.columns=[name, id_card_no, registry_date] and likewise in .list.columns, .show.columns etc. Regards Michael On Apr 7, 11:22 am, simon <[email protected]> wrote: > for example, i have a table named users, it have column like name, > id_card_no, registry_date. something like that > in the ActiveScaffold, it suppose to be sort in alphabetic order, so > in the example above, as will generating a order like below in update/ > create action: > 1) id_card_no > 2) name > 3) registry_date > > but how would i want "name" column show in the very beginning ? i want > it to show in the order like below: > 1) name > 2) id_card_no > 3) registry_date > > Can i custom it ? or i need to override the template and generate the > code myself ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
