PDA

View Full Version : problems with sort arrow in grid



kalan
2 Aug 2010, 12:33 AM
Hi,
I have a grid

var producersGrid = new Ext.grid.GridPanel({
width: 150,
height: 300,
renderTo: 'producers',
title: '?????????????',
store: new Ext.data.JsonStore({
root: 'data',
totalProperty: 'total',
messageProperty: 'message',
sortInfo: { field: 'FullName', direction: 'ASC' },
idProperty: 'ProducerId',
fields: ['ProducerId', 'FullName'],
url: '/API/ProductCatalog/GetProducersByCategoryId',
autoLoad: true
}),
columns: [{
header: '?????????????',
dataIndex: 'FullName',
tooltip: '???????????? ?????????????',
sortable: true
}]
});

The sorting arrow is shown in a wrong way. It has border, and is small in size.
What to do?

Condor
2 Aug 2010, 1:21 AM
Could it be that you configured Ext.BLANK_IMAGE_URL incorrectly?

kalan
2 Aug 2010, 1:57 AM
yes, u r right! thanx