I want to add a field which can take only integers and not decimal number.
I tried with numberfield as
{
xtype : 'numberfield',
fieldLabel : 'number',
}
i don't want to make it uneditable
is there any way to do it.
Please try setting the allowDecimals config on the numberfield, so that it looks like:
{
xtype : 'numberfield',
fieldLabel : 'number',
allowDecimals: false
}