06 Feb 2010 @ 4:57 PM 

Just a quick note on how to style columns in grids and fields in editors

$grid->column('last_cost','Last Unit Cost Price (of last import)');
$grid->columns[2]->attributes = array('style' => 'text-align: right');

It seems simple, but it took me ages to figure out

Posted By: Zayin
Last Edit: 06 Feb 2010 @ 04:57 PM

EmailPermalink
Tags
Tags: ,
Categories: php, rapyd


 

Responses to this post » (One Total)

 
  1. zayinkrige says:

    New Blog Post -> Rapyd – CRUD for PHP – Styling – http://www.zayinkrige.com/rapyd-crud-for

Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.


 Last 50 Posts
 Back
Change Theme...
  • Users » 1
  • Posts/Pages » 38
  • Comments » 61
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight

Links



    No Child Pages.

Portfolio



    No Child Pages.