dmnfarrell / pandastable

Table analysis in Tkinter using pandas DataFrames.
Other
631 stars 126 forks source link

Problem with getSelected...() of one row #210

Closed GBR-613 closed 2 years ago

GBR-613 commented 2 years ago

Assume I have a table, click on one of rows index (gray column in the left side) and invoke a function that should take the row data programmatically.

getSelectedRowData() in its current implementation returns empty list. That's because multiplerowlist is empty.

getSelectedDataFrame() works inconsistently. In most cases, it returns an empty DataFrame with index only. That's because multiplecollist is empty.

I believe the former should return a DataFrame with entire content of the row. I am going to submit a PR with the suggested change soon.