Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Dynamic TableHeaderColumns with search and exportToCSV props doesn't work in BootstrapTable

オープン
#2,142 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, react
領域
frontend

調査の方向性

まず、動的な TableHeaderColumns とグループ化された Attendance ヘッダーを使用して、react-bootstrap-table 4.3.1 で報告されたセットアップを再現します。スクリーンショットを使用して発生したエラーを特定しながら、search と exportToCSV の props がある場合とない場合の動作を比較します。グループ化されたヘッダーが引き続き機能し、両方の props がエラーを引き起こさなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

I am creating a table like this. I am using react-bootstrap-table version 4.3.1
image
The students data look like this
[ { id: 1, firstName: abc, lastName: xyz, listAtten:[ { date: 9-10, status: A}, { date: 16-10, status : P } }, { id: 2, firstName: cde, lastName: ijk, listAtten:[ { date: 9-10, status: P}, { date: 16-10, status : A } }, {...} , {...} ]. The Attendance header column will group all the student's attendance date.
This code is oke and work as I expected. Note that my students[0] is set to { id:0 } by default before I call API to set it to another value
image

image

image
but when I add the search props or exportToCSV props its throw error
image
image
Please help me with this issue, I cant use react-boostrap-table2 because it's doesn't support header column grouping

主要言語
JavaScript
スター
2.2k
フォーク
759
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AllenFang/react-bootstrap-table のほかの issue

AllenFang/react-bootstrap-table の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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