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