ipydatagrid icon indicating copy to clipboard operation
ipydatagrid copied to clipboard

Header menu icons

Open mbektas opened this issue 6 years ago • 4 comments

I am finding menu icons taking space unnecessarily and confusing. It is looking like descending sorting state icon (by the way I think we need separate icons at least for asc, desc, filtered states).

Why dont we show the menu icon on hover and in a different shape than arrow down? and show an additional state icon when a filter/sort applied. What do you think?

mbektas avatar Sep 17 '19 18:09 mbektas

But we don't have an "on hover" event (yet?) right?

martinRenou avatar Sep 18 '19 06:09 martinRenou

For the initial MVP, we were just copying a lot of the design from Google Sheet, but once we have the core features needed (entering data, copy/paste, and events) for our targeted workflows, there will definitely be some room to go back and iterate on some UX improvements! Changing the icon based on transform state is easy enough, but I'm not aware of a current mechanism to trigger a cell repaint on hover?

kaiayoung avatar Sep 18 '19 11:09 kaiayoung

sure, we can revisit after MVP release. We can achieve this by customizing onMouseHover handler. To force a repaint of the header cells we will need to trigger a data changed signal from our custom DataModel for the particular header under the mouse. phosphor DataGrid doesn't provide a direct way of repaint requests at the moment.

mbektas avatar Sep 19 '19 00:09 mbektas

Is there any method to hide the menu icons?

huyuhuster avatar Jun 03 '23 05:06 huyuhuster