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.

DataTable: clarify / rename selection attributes

See original GitHub issue

Currently we have following attributes to define selection and modes:

p:dataTable selectionMode=single | multiple - defines the selection mode, without rendering checkbox/radiobuttons rowSelectMode=new | add | checkbox - defines how selection should work when clicking on the row itself; new = unselect all rows before; add = just add the new to the selection; checkbox = disables selection on the row itself disabledSelection=EL - disables the current row for selection

p:column selectionMode=single | multiple - defines the selection mode, with rendering a checkbox or radiobuttion; rows are still selectable selectRow=true | false - disables the selection in content of the current column

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
mellowarecommented, Feb 8, 2022

Yep I think we can rename some of these personally i like when all related props start with the same word like selection so I don’t have to go fishing for properties. so selectionMode, selectionRowMode, selectionDisabled etc?

0reactions
mertsincancommented, Feb 9, 2022

Maybe selectionMode could be like in primereact https://www.primefaces.org/primereact/datatable/selection/

selectionMode= single | multiple | checkbox | radiobutton
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does selecting and renaming columns of data.table using ...
If we are select ing the column and renaming, it would be the other way i.e. instead of a = column1 , it...
Read more >
Frequently Asked Questions about data.table
It's the same mantra as professional SQL developers have: never use select * , always explicitly select by column name to at least...
Read more >
How to rename 'Checkbox' column in lightning 'datatable ...
Specify an action button in the upper-right area (where "Close" is in your images) with a button to link/unlink, and use the selection...
Read more >
DT: An R interface to the DataTables library - GitHub Pages
If you are familiar with DataTables already, you may use the options argument to customize the table. See the page Options for details....
Read more >
How to Rename Column in R - Spark by {Examples}
In this article, I will explain different ways how to rename ... rename_with() from dplyr package; setnames() from data.table ...
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