Hello There,
I am exploring react-nodegui and so far it is good in terms of ease of use.
I am wondering how do we implement table or any other component that is not yet listed in react-nodegui but supported in nodegui ?
For example, I am trying to display table in react-nodegui but not sure what to do ?
I have got the code to display from nodegui but how to do this in react-nodegui ?
const table = new QTableWidget(2, 3);
table.setHorizontalHeaderLabels(["first", "second", "third"]);
const cell00 = new QTableWidgetItem("C00");
const cell01 = new QTableWidgetItem("C01");
const cell10 = new QTableWidgetItem("C10");
const cell11 = new QTableWidgetItem("C11");
table.setItem(0, 0, cell00);
table.setItem(0, 1, cell01);
table.setItem(1, 0, cell10);
table.setItem(1, 1, cell11);
// What to do with table ?
I debugged and see that table is of type widget.
Is there any way we can convert widget into react component ?
Hello There,
I am exploring
react-nodeguiand so far it is good in terms of ease of use.I am wondering how do we implement
tableor any other component that is not yet listed inreact-nodeguibut supported innodegui?For example, I am trying to display
tableinreact-nodeguibut not sure what to do ?I have got the code to display from
nodeguibut how to do this inreact-nodegui?I debugged and see that
tableis of typewidget.Is there any way we can convert widget into react component ?