I have a tool that uses dash ag grid for a large table where several of the columns are editable.
This has worked well for a long time.
Iām testing with 31.3.0 and now see an odd behavior (I also reverted to 31.2.0 and see the same - our last prod version was on 2.3.0):
If I have a table with editable columns, the selectedRows callback behaves inconsistency.
Basically, once I load the page, it either works, or it doesnāt.
Example:
@dash.callback(
[
(some outputs)
],
[
Input('td-table-topology-projects-element', 'selectedRows'),
(other inputs)
],
...
)
def myFunction(selectedRows)
print('here')
I can put a breakpoint on the print statement.
I click a row, I hit the breakpoint.
I click another row, I hit the breakpoint.
I refresh the table.
I click a row, nothing happens.
Either it always āworksā after a table load, or it never does, which suggests a timing issue.
The way Iām setting the āeditable-nessā is in the ātypeā property on the column:
ātypeā:
{āeditableā: True, āfilterā: āagMultiColumnFilterā},
Is this is a known issue?
Any suggestions here would be great. Thanks.