AllenFang / AllenFang/react-bootstrap-table

How to add a 'glyphicon glyphicon-chevron-up' icon on table header-react-bootstrap2-table

オープン
#1,964 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
2.2k
フォーク
761
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

I have tried below code to add icon on react-bootstrap2-table.
but its not working

columns: [
{
dataField: 'id',
text: 'Product ID',
sort: true
},
{
dataField: 'name',
text: 'Product Name',
sort: true,
formatter: rankFormatter,
formatExtraData: {
up: 'glyphicon glyphicon-chevron-up',
down: 'glyphicon glyphicon-chevron-down'
}
},
{
dataField: 'price',
text: 'Product Price'
}
]

//Below is the function
function rankFormatter(cell, row, rowIndex, formatExtraData) {
return (

);
}

its overlapping my table data.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。