  | |  | DataGrid Column setStyle Method | DataGrid Column setStyle Method
2004-02-17 - By Saravanakumar M
Back Hi FlashCoders,
Well, I am using DataGrid and DataGrid Columns to achieve the
following kind of scenario.
ProductName Qty Price
product1 10 100
p1_subproduct1 5 50
p1_subproduct2 4 200
p1_subproduct3 1 300
product2 6 400
p2_subproduct1 5 600
p2_subproduct2 1 200
As shown above, the sub brand products needs to be slightly indented toward
right. I tried using
dg.getColumnAt(0)[ "prodName "].setStyle( "textIndent ", 10);
But I am getting compile time error stating there is no method with the name
setStyle. I am also trying out this same example with CustomFormatter class
to format my data in specific column.
Does any one come across this kind of scenario where they can control the
datagrid column data using styles or customformatter class
SK
****************************************************************************
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. If you are not the intended recipient, please contact the
sender by reply e-mail and destroy all copies of the original message. Any
unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is
strictly prohibited and may be unlawful.
Visit us @ http://www.masconit.com
****************************************************************************
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104439
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |