DataTable: clarify / rename selection attributes
See original GitHub issueCurrently 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:
- Created 2 years ago
- Reactions:2
- Comments:13 (13 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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. soselectionMode
,selectionRowMode
,selectionDisabled
etc?Maybe selectionMode could be like in primereact https://www.primefaces.org/primereact/datatable/selection/