创建视图以显示来自多个列表的数据(3) [英] Create view to display data from multiple list(3)

查看:109
本文介绍了创建视图以显示来自多个列表的数据(3)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Techies,

Hello Techies,

我有一个场景,我需要创建一个视图来显示多个列表中的数据,其中子列表中的每个项目都链接到父列表。

I have a scenario where I need to create a view to display data from multiple list where each item in child list is linked to Parent list.

父母列表:


  1. ID
  2. AccountManager(PeoplePicker)
  3. WareHouseCode
  4. ABC
  5. XYZ
  6. DEF

子列表1


  1. ParentID(单行文本但存储父列表中的ID值)
  2. SKU
  3. 部门
  4. ABC
  5. XYZ
  6. DEF

儿童清单2


  1. 总结算时间
  2. 总结算金额

我想在一个视图中显示这些数据,用户可以将数据导出到excel。

我想用datatable js来探索这个数据或用户可以将数据导出到Excel中的任何其他选项

I would like to display this data in a single view where users can export the data into excel.
I would like to explore this using datatable js or any other option where users can export the data into excel

任何帮助将不胜感激。

推荐答案

嗨Sachin,

hi Sachin,

                1)请从https://datatables.net/下载datatable.js

               1) please download datatable.js from https://datatables.net/

                2)配置代码如上所述,它易于休息调用并合并所有三个List数据然后getunique rec 并将其绑定到datatable。

               2) configure code as mentioned its easy go for rest call and merger all three List data and then getunique rec  and bind it to datatable.

                3) 定义

链接
中提到的此属性请参阅datatable中的export to excel选项  

               3)  define this properties mentioned in link to see export to excel option in datatable  


这篇关于创建视图以显示来自多个列表的数据(3)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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