Hi, I have just started experimenting with Dash AG grid and like that we are able to create custom components for it.
I have two different Dash AG grid tables, and I want in one of it to be able to have a button which will open the other one.
In the first one I edit some things, but then I need more granularity to add different things on that row, and therefore I need the second table within that row.
This is the component for the button, but I don’t know how to place the other dash AG grid table in.
//button for table
dagcomponentfuncs.TableButton = function (props) {
const {setData, data} = props;
function onClick() {
setData();
}
return React.createElement(
'button',
{
onClick: onClick,
className: props.className,
},
props.value
);
};
Yes I want to display the table on click, like a popup basically, but it’s more configuration like that I need to show, so that’s why just info is not enough.
This is how the second table would look like, it has components in itself:
That is one way, although I would be a bit tricky because I add new rows in the second table where I make configurations depending on how many combinations the user will need to configure…