pre-release 1.02

This commit is contained in:
2025-06-19 13:29:33 +03:00
parent 966ddc3bac
commit 1aa3c5b955
16 changed files with 1623 additions and 654 deletions

View File

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