question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

More fine-grained control on column/row selection behaviour

See original GitHub issue

Glide-data-grid has very good support for column, row, and cell selection. However, it gets a bit complicated if certain selection aspects need to be deactivated. For example, the column selection can be fully deactivated via:

selectedColumns={CompactSelection.empty()}
onSelectedColumnsChange={() => {}}

However, the cursor will still show click behavior even though there is nothing to select anymore. Also, deactivation of multi/range-selection of columns or rows could be theoretically achieved by a custom implementation… but it might get a bit complicated to determine the actual cell the user clicked on for enforcing a proper single row/column only selection. A solution might be to have a configuration similar to rowMarkers - e.g.: columnSelectionMode?: "single" | "multi" | "none" - that manages the selection behaviour internally.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jassmithcommented, Mar 27, 2022

Yes that is their purpose. It still doesn’t let you prevent range selection but I will fix that prior to launch of 4.0

0reactions
LukasMasuchcommented, Mar 27, 2022

Awesome, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fine-Grained Privileges at View Level - Community | Denodo
Denodo allows different kind of fine-grained access control over a view: ... Select the row of the view “employee” and click Assign column...
Read more >
Methods for fine-grained access control - AWS Lake Formation
By default, Lake Formation has the Use only IAM access control settings enabled for compatibility with existing AWS Glue Data Catalog behavior. ·...
Read more >
Fined Grained Access Control - Ask TOM
you would encrypt columns, the user would insert encrypted data. Can FGAC Restrict Columns as well as Rows? John Gilmore, June 13, 2003...
Read more >
Fine Grained Authorization Through Predicated Grants
Fine -grained access control, which restricts access to only the information in some rows of a table, and further to only information in...
Read more >
AG Grid Changelog
Revamped Column State to allow more powerful and fine grained control of Column State without touching the Column Definitions. For example partial state...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found