MostPopular.EssentialGrid = function()
{
	var grid = null;
	var store = null;

	function sort_grid(sender, state)
	{
		set_grid_tooltip(grid, store, 0);
	}

	return {
		init: function()
		{
			store = new Ext.data.SimpleStore({
				fields: [
					{name: 'term'}
				]
			});

			store.loadData(essential_terms_data);
			var columnCss = 'font-family:Verdana,Tahoma,Arial;font-size:12px;line-height:17px;';

			grid = new Ext.grid.GridPanel({
				store: store,
				columns: [
					{ id:'term', header:'Term', width: 344, sortable:false, dataIndex:'term', css:columnCss }
				],
				stripeRows: true,
				// autoExpandColumn: 'term',
				height: 2548,
				width: 348,
				header: false,
				border: false
			});

			grid.render('essential_container');
			grid.addListener('sortchange', sort_grid);
			sort_grid();
		}
	};
}();

