Rank: Member Groups: Member
Joined: 6/2/2008 Posts: 27
|
I want to use a maskededit control in my grid to display a decimal value. The grid loads ok but when i click on the cell the value disappears. Am I doing something wrong. My code is below.
<eo:CustomColumn DataField="AmountDue" HeaderText="Due" Width="86"> <EditorTemplate> <eo:MaskedEdit runat="server" Width="80"> <eo:MaskedEditSegment Decimals="2" SegmentType="Number"> </eo:MaskedEditSegment> </eo:MaskedEdit> </EditorTemplate> </eo:CustomColumn>
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You may want to take a look of the built-in MaskedEditColumn. CustomColumn is not as simple as you thought. :) This topic contains detained information about what you need to do in order to use a CustomColumn: http://www.essentialobjects.com/ViewDoc.aspx?t=Grid%2fcustom_column.htmlHope this helps. Thanks
|