There are many different ways to do this, depending on how you want to work.
You could simply ReadAll the data, then apply select parameters to the output list, generating a new list of your filtered results.
If your spreadsheet is "anyone with the link" permissions then you can directly read/query/filter data on the sheet, if your spreadsheet is "restricted" then you will need to use google apps script web app to help you.
As @Spicy_Topics has indicated, you can use the gviz query to return a specific set of results - this is probably the easiest way.
You could also get google sheets to do the work, by setting up a second/third sheet on your spreadsheet, and develop formulas that will run queries or filters based upon your parameters, and return the output.
Given that you are already working with a google apps script web app, you might want to add a query function to your script:
// outputs results for SQL query of all data
else if ( fn == 'QuerySheet' ) {
var sql = e.parameter.SQL;
var hdr = e.parameter.HDR;
if ( hdr == 0 ) {
var rgq = sh.getName() + "!" + sh.getDataRange().getA1Notation().replace('A1','A2');
var qry = '=query(' + rgq + ';\"' + sql + '\";0)';
} else if ( hdr == 1 ) {
var rgq = sh.getName() + "!" + sh.getDataRange().getA1Notation();
var qry = '=query(' + rgq + ';\"' + sql + '\";1)';
}
var ts = ss.insertSheet();
var setQuery = ts.getRange(1,1).setFormula(qry);
var getResult = ts.getDataRange().getValues();
ss.deleteSheet(ts);
return ContentService.createTextOutput(JSON.stringify(getResult));
}
then you could setup your blocks something like this:
One's a gain TIMA thanks for your fast answer an the support , I just think in do it with a ReadAll and in the parameter put the word that contains the only calu that I want to be show in the list view.
actually I am working to make an update selecting the info with specific values in a list view.
Dear arturo thanks. I have need to this filtering option like this for my apps.
I already created google sheet data view apps using appinventor, but i can't doing create drop down filtering options for google sheet data view in my apps. it possible or not. please help anyone. Thank you.
You either keep querying the google sheet with your "filter" / query parameter, or you could do it locally, perhaps with a regex or by traversing the list doing a match/contains etc.