PDA

View Full Version : Fixed: Column data not showing



dorgan
21 May 2009, 8:17 AM
DISREGARD: I found the issue.

I have the following data grid defined and every column seems to be showing data just fine except for the plus4 column, and from what I can tell the json that is being returned has data defined for that field

Here is the datagrid


var tax_grid = new Ext.grid.GridPanel({
store: TaxDataStore,
columns: [
{id: 'id', hidden: true,menuDisabled: true},
{header: 'Date', width: 75, sortable: true, dataIndex: 'date'},
{header: 'Time', width: 75, sorttable: false, dataIndex: 'time'},
{header: 'Zip', width: 150, sortable: true, dataIndex: 'zip'},
{header: 'Plus 4', width: 150, sortable: true, dataIndex: 'plus4'},
{header: 'Rate', width: 100, sortable: true, dataIndex: 'rate'}
],
height: 250,
width: 800
});
and here is a sample of what is being returned to the store:



{"success":true,"total":79,"addr_calls":[{"id":"982","date":"2009-05-21","time":"12:04:00","zip":"11703"
,"plus4":"3251","rate":"8.625"}]}
So I am really not sure why the plus4 column is not showing up.