Is it possible to create a border box that conforms to the dimensions of a UITable?

1 ビュー (過去 30 日間)
I've been reviewing the MATLAB documentation pertaining to the UITable function. One thing I'm not seeing is a parameter that allows the user to place a border around the UITable, once it's built.
Can this be done with a UITable?


Walter Roberson
Walter Roberson 2017 年 2 月 2 日
Place the uitable inside a uipanel and set the BorderType property of the uipanel
  1 件のコメント
Suresh S
Suresh S 2018 年 4 月 13 日
Could you help me create a uitable inside the uipanel. what is wrong here ?
Disp_rad_panel = uipanel(id,'Title','Front RADAR','FontSize',10,...
'BackgroundColor',[0.8 0.8 0.8],'Position',[0.01 .53 0.42 .13],'FontAngle','italic','FontWeight','bold');
Col_name = {'Tar 1','Tar 2','Tar 3','Tar 4','Tar 5','Nearest'};
Row_name = {'veh Id','Dis (m)','FoV(°)','spd(km)','TTC(s)'};
Frnt_rad_table = uitable('Parent',Disp_rad_panel,'Data',Frnt_rad_defu_data,...
'ColumnName',Col_name,'RowName',Row_name,'Position',[0.1 0.1 0.99 0.95]);


その他の回答 (0 件)


Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by