Pagination table with external json

前端 未结 2 1292
悲&欢浪女
悲&欢浪女 2021-01-27 00:45

I have a table with pagination and ext json but I am getting error while executing the table,Can anyone help me,below is the json and code has been given below,Same code need to

2条回答
  •  青春惊慌失措
    2021-01-27 01:10

    I resolved that issue with other json format,but I need to add same class of td in the particular tr when we inspect element

    
    
    
    
      
      bootstrap-table  pagination
    
    
      
    
    
    
    
    
    
    
    
      
    Namestargazers_countforks_countdescription

    json format

     [{
                "name": "bootstrap-tables",
                "stargazerscount": 526,
                "forkscount": "critical",
                "description": "ssssssssss"
            },
            {
                "name": "bootstrap-table",
                "stargazerscount": 526,
                "forkscount": "critical",
                "description": "ssssssssss"
            },
            {
                "name": "bootstrap-table",
                "stargazerscount": 526,
                "forkscount": "major",
                "description": "ssssssssss"
            },
            {
                "name": "bootstrap-table",
                "stargazerscount": 526,
                "forkscount": "major",
                "description": "ssssssssss"
            },
            {
                "name": "bootstrap-table",
                "stargazerscount": 526,
                "forkscount": "critical",
                "description": "ssssssssss"
            },
            {
                "name": "bootstrap-table",
                "stargazerscount": 526,
                "forkscount": "critical",
                "description": "ssssssssss"
            },
            {
                "name": "bootstrap-table",
                "stargazerscount": 526,
                "forkscount": "critical",
                "description": "ssssssssss"
            }
    
        ]
    

提交回复
热议问题