Google App maker list view filtering

六眼飞鱼酱① 提交于 2019-12-24 08:24:58

问题


We have tables in app maker that shows data in list view and it will add default features like sorting, paging. We want filters on top of each column in

that table, drop down control acts as filter that will list all the distinct values on its configured column. When I select a value in dropdown it should

filter the value from datasource and load in the list view.

If two filters or more filters is applied at the same time, the filters should act as AND condition that will bring values satisfied with all filters.


回答1:


There is no such type of table in App Maker at this time (but you can always file feature request here)

Meanwhile you can put some effort and implement it on your own. You just need to add input widgets, layout them and bind to filters(_equals, _in, _notIt, _startsWith...):

@datasource.query.filters.FieldName._equals

There are some relevant apps with this functionality:

  • Project List
  • Project Tracker


来源:https://stackoverflow.com/questions/46001148/google-app-maker-list-view-filtering

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!