PDA

View Full Version : NumberField doesn't working properly in EditGrid??



tookoo
1 Jun 2007, 6:43 AM
I was just playing around "Editor Grid Example" shipped with Ext Library. When I tried to add blankText/invalidText/maxText/decimalPrecision option(s) to the NumberField, none worked. All the modifications I made to the examples were as follows:


......
{
header: "Price",
dataIndex: 'price',
width: 70,
align: 'right',
// renderer: 'usMoney',
editor: new Ed(new fm.NumberField({
allowBlank: false,
blankText: "blablabla",
invalidText: "test for invalidtext",
maxText: "test for maxText",
allowNegative: false,
decimalPrecision:5,
maxValue: 20
}))
},
......


Did I miss anything here? Or it is indeed a bug....

jack.slocum
1 Jun 2007, 1:45 PM
They appear as QuickTips. You will need to turn QuickTips on by calling Ext.QuickTips.init(). It could be related to another issue where QuickTips weren't displaying in FF that is fixed in SVN.