You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, everybody. I'm trying to catch from code the moment, when table columns are reordered. And it seems that no callback is issued on reordering itself.
So I found two problems:
first, no callbacks for the actions on columns are available.
get_item_info says, that at least 'hover_handler_applicable': True, but adding this handler does nothing. So reordering works but I have no clue when to react on it.
Second, is that order of columns is not available programmatically. I mean that order in children array is never affected with reordering.
Almost the same problem with ordering information arises with tab_bar and tab reordering. but at least one can get deactivated_handler callback. But ordering information is also absent.
Hopefully, I've just made a bad search and there's a possibility to somehow get info about order of columns.
Of course, I could try to write mouse_move handlers with analisys of mouse coordinates inside the table with catching mouse button callbacks but this is strange idea.
Does anyone have an idea regarding order information of table columns and/or tabs?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, everybody. I'm trying to catch from code the moment, when table columns are reordered. And it seems that no callback is issued on reordering itself.
So I found two problems:
first, no callbacks for the actions on columns are available.
get_item_info says, that at least 'hover_handler_applicable': True, but adding this handler does nothing. So reordering works but I have no clue when to react on it.
Second, is that order of columns is not available programmatically. I mean that order in children array is never affected with reordering.
Almost the same problem with ordering information arises with tab_bar and tab reordering. but at least one can get deactivated_handler callback. But ordering information is also absent.
Hopefully, I've just made a bad search and there's a possibility to somehow get info about order of columns.
Of course, I could try to write mouse_move handlers with analisys of mouse coordinates inside the table with catching mouse button callbacks but this is strange idea.
Does anyone have an idea regarding order information of table columns and/or tabs?
Beta Was this translation helpful? Give feedback.
All reactions