Hi Daniel,

Thanks for the solution. 
Surprised that the css style isn't available out of the box.

Regards,
James

On 2020/03/14 16:55:18, Daniel Watford <[email protected]> wrote: 
> Hi James,
> 
> Please take a look at this test plugin for a demonstration -
> https://github.com/danwatford/ofbizGridTest
> 
> Place the plugin contents in folder $ofbiz/plugins/gridTest and then
> clean/build/run according to the README.md file.
> 
> This plugin displays GlAccounts on its main page.
> 
> In the GridTestForms.xml file note use of the title-style and widget-style
> attributes for the Field elements..
> 
> Columns can be right-aligned using CSS - see GridTest.css.
> 
> GridTest.css is included in the main screen by:
> 
> <set field="layoutSettings.styleSheets[]"
> value="/gridTest/css/GridTest.css" global="true"/>
> 
> Try applying different styles to get different effects. I've included a few.
> 
> Hope that helps,
> 
> Dan.
> 
> 
> On Sat, 14 Mar 2020 at 09:44, James Yong <[email protected]> wrote:
> 
> > Hi all,
> >
> > How can I right-align certain columns in grid widget?
> >
> > Regards,
> > James
> >
> 
> 
> -- 
> Daniel Watford
> 

Reply via email to