Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: David H. on July 18, 2008, 11:03:04 am



Title: Programmatically change styles for different rows of an array?
Post by: David H. on July 18, 2008, 11:03:04 am
Hi All,

I'd like the facility to alter the style for different rows of an array. i.e. To show rows in bold (for new rows) or greyed out (disabled rows) etc. I've not done much with styles (beyond setting initial default styles for the application), but after a quick review of the current facilities and forum posts to date I can't see an obvious way to achieve this currently...

If anybody has any thoughts/suggestions then please let me know.

Cheers,

David


Title: Re: Programmatically change styles for different rows of an array?
Post by: Sebastien F. on July 18, 2008, 11:24:14 am
Hello David,

We do not support row styles yet, you have to use cell attributes with DIALOG.setCellAttributes() or DIALOG.setArrayAttributes().

https://4js.com/techdocs/genero/fgl/devel/DocRoot/User/ClassDialog.html#EXAMPLE_4

Seb