Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Candida F. on May 19, 2010, 07:04:15 pm



Title: show grid
Post by: Candida F. on May 19, 2010, 07:04:15 pm
hi there,

i have defined a style using 'show grid' definition on a display array form, but still no borders appear on the screen.

the instruction i'm using is:

<StyleAttribute name="showGrid"            value="1" />

can anyone assist, please?

thanks!


Title: Re: show grid
Post by: . on May 19, 2010, 08:49:06 pm
The style showgrid is a style attribute used to define if a TABLE container should display or not the inner grid.

By default a table shows inner grid in Input Array but not in Display array.

The style showGrid applies to Table, so you need to:

1. give a style to your table in the .per

ATTRIBUTES:
 TABLE t : mytable, STYLE="nogrid";

2. define the showGrid StyleAttribute for this style:

<Style name="Table.nogrid">
  <StyleAttribute name="showGrid" value="1"/>
</Style>

Note that you may have to use "yes" or "true" if you are running an old GDC (before 2.20) - sorry from memory I don't recall which one to use for this specific attribute, this is the reason since 2.20 GDC makes no difference.

Please also not that only TABLE containers do support the attribute, not "Matrix", i.e. the BDS-like screen array definition.

If this is not working I would suggest to send your test case to your support center which will help you (or transmit us the bug if any, but I'm pretty sure this fetaure is automatically tested and works for years).

Regards,
Pierre-Nicolas


Title: Re: show grid
Post by: Candida F. on May 20, 2010, 10:49:03 am
hi Pierre,

just to let you know this worked.

thanks for your help :)