doonfrs / pluto_grid_plus

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
27 stars 28 forks source link

[Feature] Disable navigating thro cells with tab/key arrows #87

Open stan-at-work opened 4 weeks ago

stan-at-work commented 4 weeks ago

Currently, you can navigate through the interface using either the Tab key or the Arrow keys on your keyboard. This allows for smooth interaction, making it easy to move between different fields or elements.

However, I would like to add a feature that allows users to enable or disable this keyboard navigation functionality as needed. This could be particularly useful in scenarios where the default keyboard navigation behavior interferes with other custom controls or workflows.

For instance, I would like the ability to toggle this behavior programmatically, such as by setting a state that controls whether interactive cell navigation is active.

Here’s an example of how this might work:

// Disable interactive keyboard navigation
stateManager.changeCurrentCellInteractively = false;

// Enable interactive keyboard navigation
stateManager.changeCurrentCellInteractively = true;

By implementing this feature, users would have more control over how they interact with the interface, improving both flexibility and usability.

Is it possible to introduce such a setting that allows me to dynamically enable or disable keyboard navigation?

stan-at-work commented 4 weeks ago

In addition to this, I would like to disable the ability to copy and paste content to the clipboard when a cell is active, specifically when Ctrl+C or Ctrl+V is pressed. This would prevent accidental clipboard operations during cell interactions and improve the control over content management.