www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@classicTable/doSetupGrid.m
function doSetupGrid(obj) %DOSETUPGRID Set the table elements into the grid layout % % SETUPGRID(OBJ) sets up the grid layout to correctly contain the table % display objects and the scrollbars. % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. if strcmp(obj.ColumnHeaderPosition, 'top') obj.doSetupClassicGrid; else obj.doSetupAxesGrid; end