PDA

View Full Version : [CLOSED] Format number in gridpanel template column



asiaesolutions
Jan 14, 2013, 9:01 AM
I got 1 template column below, the FloorArea and FloorRate all is number, but I don't know how to format this like 0,000.00 for the template column

<ext:TemplateColumn runat="server" ID="colTemplate1" DataIndex="FloorArea" Width="70" Resizable="false" Text="Floor Area<br/>Rate">
<Template ID="Template1" runat="server">
<Html>
<tpl for=".">
{FloorArea}<br />
S${FloorRate}
</tpl>
</Html>
</Template>
</ext:TemplateColumn>

Vladimir
Jan 14, 2013, 9:28 AM
Try this


{FloorRate:number("0,000.00")}