надо сделать подключение сурсов по чекбоксам

пока ничего не работает
This commit is contained in:
2025-06-15 16:48:59 +03:00
parent 02379d4c46
commit 982d29560f
4 changed files with 12 additions and 14 deletions

View File

@@ -10,12 +10,10 @@ classdef customtable
nCols = tableControl.getNumberOfColumns;
% инициализация колонок если они пустые
% такое случается при removeParameter
if isempty(tableControl.Columns)
if nCols > 0
if isempty(tableControl.Columns) || (nCols > 1)
for i = 1:nCols
tableControl.removeColumn(1);
end
end
column = tableControl.addColumn(Name='Title', Type='edit');
tableControl.Sortable = 'on';
end