详细信息模态选择器过滤 [英] Details modal picker filtering

查看:67
本文介绍了详细信息模态选择器过滤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1。首先,我认识到Modal Picker Windows没有过滤器文本框。如果你有太多选择,那可能会有问题。您必须自定义每个窗口。或者,Lightswitch可以生成过滤的组合框。我该如何解决这个问题?

1. Firstly, I recognize that Modal Picker Windows does not have filter textbox. If you have too many options, It can be problem. You must customise every window. Alternatively, Lightswitch can generate a filtered combobox. How can I solve that problem?

2。如何为列表自定义搜索更多条件?  按钮点击等?

2. How can I do custom search more criteria for a list ?  Button click etc.?

谢谢

推荐答案

嗨Nurkmez

Hi Nurkmez

这将有助于我希望:)。

This will help I hope :) .

1-创建您喜欢的屏幕适合 

1- Create your screen as you like it fit 

2-添加数据项 - >查询 - >选择你的桌子(全部) - >确定

2- Add Data Item -> Query -> Select your table (All) -> Ok

3-编辑您刚刚创建的表格的查询以满足您的需求(现在您认为您有一个参数可以使用过滤器)

3- Edit the query for the table you just create to match your needs (For now think that you have one parameter that you make the filter with)

4-添加对话框 - >将参数和表格拖动到对话框

4- Add Dialog -> Drag the parameter and the table to the dialog

5-该表格将是一个列表 - >选择表格的摘要字段 - >  properties - >编辑后期渲染 代码 - >添加此代码 

5- The table will be a List -> Select the Summary filed of the table -> properties -> Edit Post Render Code -> add this code 

   

   


(element).parent()。click(function(){

(element).parent().click(function () {

      contentItem.screen.TheRelatedTable.selectedItem.TheFiled = contentItem.screen.TheTable.selectedItem;

  });

   

        contentItem.screen.TheRelatedTable.selectedItem.TheFiled = contentItem.screen.TheTable.selectedItem;
    });
   


(元素).parent()。dblclick(function(){
(element).parent().dblclick(function () {

//感谢 

// Thanks to 



// Michael Zlatkovsky(MSFT)
// Michael Zlatkovsky (MSFT)


这篇关于详细信息模态选择器过滤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆