AppDesigner table not filtering properly

1 view (last 30 days)
Hi, I am trying to create a button where I am able to filter my table based on my drop down (selects the column to filter) and edit field value (what text/value to look for). So far I have got something which filters the table but ticking the rows which meet my condition, however I would like for the table to ONLY show the filtered rows.
i
% %Filter values based on drop down column select and journal edit field
%e.g. document type = GJ
app.FinalTable = strcmp(app.UITable.Data.(app.FilterDD),(app.JEditValue));
app.UITable.Data = app.FinalTable;
I have attached 2 image files: 1) Original table when I import the excel file: 2) Table once I filter the data (I want all rows where document type = GJ), essentially I want to figure out how I could get table to display data for those ticked rows

Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!