Home > PHP Framework > Laravel > Laravel-admin pop-up table component [modified]

Laravel-admin pop-up table component [modified]

藏色散人
Release: 2020-08-11 13:27:59
forward
5112 people have browsed it

The following is an introduction to the laraval-admin pop-up table component from the Laravel tutorial column, I hope it will be helpful to friends in need!

Laravel-admin pop-up table component [modified]

laravel-admin-expand-table

github address: https://github.com/ydtg1993/laravel-admin -expand-table

laravel-admin的弹窗table组件,由于目前现在官方Table组件不支持分页且同步,所以做了个js解决它
简单的js引入调用即可,无过度的封装,使用灵活便于修改自定义
Copy after login

##Background interface attention

1. Method POST
2. Accept the fixed value of passed parameters
p:Current page number
limit: number of entries per page
Other parameters are customized...
3. Return the json data structure
{
    "data":[                    #数据集
        {"id":1,"name":"馒头"},
        {"id":2,"name":"大米"},
        ...
    ],
    "total":25                  #数据总条目书
}
Copy after login

The above is the detailed content of Laravel-admin pop-up table component [modified]. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:learnku.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template