2017-01-15 7 views
0

私はこれを bootstrap table exampleにコンポーネントに統合したいと思います。 index.htmlにソースファイルを添付しても動作しません。インデックスのルートコンポーネントの下にテーブルが挿入されていれば動作します。私は同様のquestionを見つけましたが、それは解決されません、会話はどういうわけかこの質問で終わりますか?どうもありがとう、私は私を助けることができる私の統合、mytableブートストラップテーブルを角度2に統合する方法は?

<table data-toggle="table" 
 
     data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/" 
 
     data-click-to-select="true"> 
 
    <thead> 
 
    <tr> 
 
     <th data-field="state" data-checkbox="true"></th> 
 
     <th data-field="name">Name</th> 
 
     <th data-field="stargazers_count">Stars</th> 
 
     <th data-field="forks_count">Forks</th> 
 
     <th data-field="description">Description</th> 
 
    </tr> 
 
    </thead> 
 
</table>

+0

CMON、この表のコードを使用して答えますか? –

答えて

0

<table data-toggle="table" 
 
     data-url="/gh/get/response.json/wenzhixin/bootstrap-table/tree/master/docs/data/data1/" 
 
     data-click-to-select="true"> 
 
    <thead> 
 
    <tr> 
 
     <th data-field="state" data-checkbox="true"></th> 
 
     <th data-field="name">Name</th> 
 
     <th data-field="stargazers_count">Stars</th> 
 
     <th data-field="forks_count">Forks</th> 
 
     <th data-field="description">Description</th> 
 
    </tr> 
 
    </thead> 
 
</table>

関連する問題