I advise you to overwrite the columdecorator class for the table cell
value.You will find method called decorate(object __),in that object
represents the cell value.So just have the logic of returning for
null vlaue.And specify the class name in the displaytag.properties file.I am
sure your table column will have the specified width with blank vlaue.Try it
out and let me know.
On 8/7/08, Saluja, Pawan Kumar <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> Need help on following issue:-
>
> I have create a table using* "display:table"* and define the width of
> columns using* style="width:20%;".* This width works fine for columns
> when data is displayed in table, but does not take width when there is no
> data and only headers are displayed in table.
>
> *Code example :*
> <display:table>
>
> ………………………..
>
> <display:column title="Name" headerClass="sortable" style="width:20%"
> property="name" sortable="true" media="html" maxLength="30"/>
>
> …………………………….
>
> </display:table>
>
> Can some one help on this
>
> Regards
> Pawan Saluja
>
>
>
> *Important : This e-mail, including any attachment(s) hereto, is
> intended only for the individual or entity to whom it is addressed. It may
> contain proprietary, confidential or privileged information or attorney
> work
> product belonging to Fidelity Business Services India Pvt. Ltd. (FBS India)
> or its affiliates. If you are not the intended recipient of this e-mail, or
> if you have otherwise received this e-mail in error, please immediately
> notify the sender via return e-mail and permanently delete the original
> mail, any print outs and any copies, including any attachments. Any
> dissemination, distribution, alteration or copying of this e-mail is
> strictly prohibited. The originator of this e-mail does not guarantee the
> security of this message and will not be responsible for any damages
> arising
> from any dissemination, distribution, alteration or copying of this message
> and/or any attachments to this message by a third party or as a result of
> any virus being passed on. Any comments or statements made in this are not
> necessarily those of FBS India or any other Fidelity entity. All e-mails
> sent from or to FBS India may be subject to our monitoring and recording
> procedures. FBS India is an Appointed Representative of FIL Investments
> International, which is authorized and regulated by the United Kingdom
> Financial Services Authority. FIL Investments International only gives
> information on its products and services and does not give investment
> advice
> to private clients based on individual circumstances. *
>
>
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> displaytag-user mailing list
> displaytag-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
--
--
Thanks and Regards,
Sriram P
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user