sharepoint spfx web部分与jquery datatable添加行 [英] sharepoint spfx web part with jquery datatable add row

查看:77
本文介绍了sharepoint spfx web部分与jquery datatable添加行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看过这个教程https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/migrate-jquery-datatables-script-to-spfx.


我想知道如何将新行添加到jquery数据表中,并从右侧窗格输入数据!


我可以这样做吗?



PS:我使用的是sharepoint online而不是sharepoint 2013


Thk

解决方案


你的意思是右下方的窗格吗?它用于Web部件属性配置,不用于数据操作。





如果要动态创建新数据行,则应设计数据表单,以便用户可以输入数据然后绑定到数据表(您还需要保存到SharePoint列表)。
 


以下是供您参考的链接。


http://infra.clarin.eu/content/libs/DataTables-1.10.6/examples/api/add_row.html


最好的问候,


Lee


I saw this tutorial https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/guidance/migrate-jquery-datatables-script-to-spfx.

And I wonder how to add new row to jquery datatable with data enter from right pane!

Can I do this?

PS: I used sharepoint online not sharepoint 2013

Thk

解决方案

Hi,

Do you mean below right pane? It’s used for web part properties configuration, not used for data manipulation.


If you want to create new data row dynamically, you should design a data form so user could input the data and then bind to data table(you need save to SharePoint list also).  

Here is one link for your reference.

http://infra.clarin.eu/content/libs/DataTables-1.10.6/examples/api/add_row.html

Best Regards,

Lee


这篇关于sharepoint spfx web部分与jquery datatable添加行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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