AllenFang / AllenFang/react-bootstrap-table
Is there a way where onClick + button increase the counter of that particular row only not all the rows?
Đang mở
- Ngôn ngữ chính
- JavaScript
- Star
- 2.2k
- Fork
- 761
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I am trying something like below but it updates all the row:
const dataFormatter = (cell, row, rowIndex,formatExtraData) => {
return (
addToCart(rowIndex)}>
{formatExtraData}
removeFromCart(rowIndex)}>
);
};
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.