Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
Cell format
posted

Hi,

 Some of the grid cells are outputText, but I need to format them as currency, date and so on. The only way to format them, is to use inputCurrency and so on. Of curse, I can set it as read only. The problem is that the inputCurrency draws it's own edge. Is a way to change inputCurrency edge to invisible and change it's backgroud color? Or is a way to use outputtext with format directly?

 Thanks,

 

  • 1045
    Offline posted

    Hi,

    You can change the style of the input currency box by using the style attribute or the styleClass attribute of the <ig:inputCurrency> tag.

    For example:

    Using the styleClass attribute: 

    <ig:inputCurrency id="inputNumber1" styleClass="inputCurrency" />

    StyleClass definition:

    .inputCurrency { border: 0px; background-color: white; }

    Using the style attribute:

    <ig:inputCurrency id="inputNumber1" style="border: 0px; background-color: white; }

    For more information regarding themes, styles and styleClasses, see http://help.infragistics.com/Help/NetAdvantage/JSF/2008.2/HTML/JSF_Designing_the_Look_and_Feel.html

    I hope this helps you,

    Regards,

    Pamela