occoder
                                            occoder
                                        
                                    It seems that the rowcolors' index does not grow with its corresponding dataframe model due to the if check. ``` def set_rowcolors_index(self): df = self.model.df if len(self.rowcolors) == len(df): self.rowcolors.set_index(df.index,...
However, if you remove the if check you'd get following like exception after executing addRow() and resetIndex(). ``` File "C:\Python37\lib\site-packages\pandastable-0.12.0-py3.7.egg\pandastable\core.py", line 872, in resetIndex self.set_rowcolors_index() File "C:\Python37\lib\site-packages\pandastable-0.12.0-py3.7.egg\pandastable\core.py", line 931, in...
I tried the addrows() method. But it seems that the inserted line does not grow the index whereas the addrow() does. As a result, the very next line got overridden....
I figured out a way that solves this problem. ``` self.current_row += 1 self.view.tbl_profile.setSelectedRow(self.current_row) _ = self.view.tbl_profile.model.df.iloc[(self.current_row-1)] self.view.tbl_profile.addRows(num=1) # add one row at the very bottom of the dataframe after_rows...
Hi @dddomodossola , thanks for your timely feedback. The relevant code snippet looks like ``` self.lbl_start = gui.Label("Start: ", width=80, height=30, style="text-align: right; vertical-align: middle") self.spin_start = gui.SpinBox(self.start, LL, UL,...