更新数据表上的共享点列表和引用/重载数据(引导程序) [英] update Sharepoint list and refersh/reload data on datatable (bootstrap)

查看:91
本文介绍了更新数据表上的共享点列表和引用/重载数据(引导程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我创建了这样的表


$(document).ready(function(){

        $( '#tbldocApproved')数据表({

            " lengthMenu" ;: [[5,25,50,-1],[5,25,50,"所有"]],

&NBSP ;          " pagingType" ;:" simple_numbers" ;,

     &NBSP ;      destroy:true

       });

   ; });



插入/更新记录后我可以使用


在特定行上进行更改

$(rowid).remove()////等等


问题:


我想刷新数据表,我是试图像这样使用" tbldocApproved'"它的html表格的id是这样创建的

 < table id =" tbldocApproved" class =" table table-striped table-bordered table-sm" CELLSPACING = QUOT; 0"宽度= QUOT; 100%QUOT;>

解决方案
是任何一个能帮助我在此请..

Hi,

I have created table like this

$(document).ready(function () {
        $('#tbldocApproved').DataTable({
            "lengthMenu": [[5, 25, 50, -1], [5, 25, 50, "All"]],
            "pagingType": "simple_numbers",
            destroy: true
        });
    });

after inserting/updating record I can make those changes on particular row using

$(rowid).remove() //// and so on

problem:

I want to refresh datatable, I am trying to use like this "tbldocApproved'" its id of html table which is created like this 

 <table id="tbldocApproved" class="table table-striped table-bordered table-sm" cellspacing="0" width="100%">

解决方案

is any one can help me on this please..


这篇关于更新数据表上的共享点列表和引用/重载数据(引导程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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