내 첫 번째 게시물이므로 잘못된 스레드에 게시 할 수 있습니다. 죄송합니다.extjs에서 격자의 숫자 필터에만 양수를 허용하는 방법
숫자 그리드 필터에서 음수 값을 제한하고 그리드의 숫자 필터에만 양수를 허용하고 싶습니다. 어떻게해야 할 지 찾을 수 없습니다.
여기에 어떤 도움이 크게 감사합니다
var myFilters =
{
ftype : 'filters',
encode : false,
local : false,
extend : 'Ext.data.Model',
filters :
[
{
type : 'numeric',
dataIndex : 'utilization_per'
}
]
};
deviceUtilGridPanel = new Ext.grid.GridPanel(
{
features : [myFilters],
columns :
[
{id:'ru_utilization_per', header: "Utilization(%) (U)", sortable: true, dataIndex: 'utilization_per', filterable: true, filter :{type:'numeric'},width:80}
]
});
내 코드입니다.
미리 감사드립니다.
감사합니다. 귀하의 답변은 완벽합니다. – alind