Created
March 5, 2011 03:00
-
-
Save veriojon/856054 to your computer and use it in GitHub Desktop.
excel error stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var ErrorListView = new Ext.list.ListView({ | |
store: ExcelErrorStore, | |
autoScroll: true, | |
columns: [{ | |
header: 'SSID', | |
width: .2, | |
dataIndex: 'ssid' | |
},{ | |
header: 'Error Type', | |
width: .3, | |
dataIndex: 'etype' | |
},{ | |
header: 'Error Description', | |
width: .5, | |
dataIndex: 'edesc' | |
}] | |
}); | |
var ErrorSummaryListView = new Ext.list.ListView({ | |
store: ExcelErrorSummaryStore, | |
columns: [{ | |
header: '#', | |
width: .2, | |
dataIndex: 'num' | |
},{ | |
header: 'Error Type', | |
width: .8, | |
dataIndex: 'type' | |
}] | |
}); | |
var ExcelErrorPanel = new Ext.Panel({ | |
id: 'ExcelErrors', | |
width: 300, | |
height: 1500, | |
autoScroll: true, | |
layout: 'fit', | |
title: 'Excel Import Error Detail', | |
items: ErrorListView | |
}); | |
var ExcelErrorSummaryPanel = new Ext.Panel({ | |
id: 'ExcelSummary', | |
width: 300, | |
height: 250, | |
layout: 'fit', | |
title: 'Excel Import Error Summary', | |
items: ErrorSummaryListView | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment