You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using react datatable version 7.5..The issue is that I am not able to hide the expander button from my rows..here is my code
const data = [
{ id: 1, name: 'John Doe', email: 'johndoe@example.com', showExpander: true },
{ id: 2, name: 'Jane Doe', email: 'janedoe@example.com', showExpander: false },
{ id: 3, name: 'Peter Jones', email: 'peterjones@example.com', showExpander: true },
];
const ExpandableTable = () => {
return (
Additional Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra facilisis.
I am using react datatable version 7.5..The issue is that I am not able to hide the expander button from my rows..here is my code
const data = [
{ id: 1, name: 'John Doe', email: 'johndoe@example.com', showExpander: true },
{ id: 2, name: 'Jane Doe', email: 'janedoe@example.com', showExpander: false },
{ id: 3, name: 'Peter Jones', email: 'peterjones@example.com', showExpander: true },
];
const ExpandableTable = () => {
return (
Additional Details
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas congue ligula ac quam viverra facilisis.
);
};
const App = () => {
const expandableRowsHideExpander = (row) => {
return !row.showExpander;
};
return (
);
};
The text was updated successfully, but these errors were encountered: