Closed bitassassin closed 6 years ago
Hi @bitassassin - thanks for raising this, these are definitely bugs.
The second one was introduced when a change was made to allow multiple buttons in the action column, it seems to have broken a bunch of things that got through testing. The small [x]
button is another issue that has already been raised.
The first issue I'm not able to replicate on my platform (I'm on Mac) - what platform are you on?
Closing this as main issue has been resolved. I can;t reproduce the issue with the add button, if you have anything to add (platform, python version, etc) - please add it to the new issue I created #502
Okay, bear with me as this may be two bugs:
In .addTable, I have set the following function:
def fDeleteRow(dRow): app.deleteTableRow("entryTable", dRow)
The .addTable looks like this:
app.addTable("entryTable", [["Item", "Description"]], action=fDeleteRow, addRow=fAddRow, actionHeading="Delete", addButton="Add Item", actionButton="X", showMenu=True)
The window looks as follows:
You'll notice the Add Item button doesn't render. It does that once you hover over it:
So, the next step is to insert test entries:
And to click the 'X':
Which generates the following error:
The bonus round is deleting all entries and trying to remove that last pesky null row:
Which generates the following:
If these are not bugs, my apologies, I haven't used python in quite some time.
Regards, Bits