Use of xtype as numberfield.
This code helps you with upper and lower limit
values for the numeric fields enabling user to scroll through any range of numeric
value
Numeric input values for this field can have
upper and lower limits.
This can be set as follows:-
{header: "Quantity", width:70,
dataIndex: 'Quantity', sortable: true,
editor: {
xtype:'numberfield',
minValue: 1,
maxValue: 100,
allowBlank:false
}
}
No comments:
Post a Comment