DataTable如何动态切换处理模式?

DataTable如何动态切换处理模式?

艾诺一号艾诺一号 Posts: 1Questions: 1Answers: 0

初始化时是服务器模式serverSide=true,进行某个操作后想改成客户端模式serverSide = false,怎么设置?

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    H @艾诺一号 ,

    Unfortunately you can't. That option is only configurable at initialisation and cannot then be changed. One thing you could try, is to call destroy() and then reinitialise, with serverSide set to false. It will only retain the data currently in the DOM, but it might do what you want,

    Cheers,

    Colin

This discussion has been closed.