This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
style_data_condtional - "row_index" won't accept vector of values #608
Labels
dash-type-enhancement
New feature or request
Milestone
I am using
dashTable
4.0.2 and below is an example of highlighting multipledashDataTable
rows in Dash for R.The example provided at https://dashr.plot.ly/datatable/style under Conditional Formatting - Highlighting Certain Rows demonstrates how to highlight a single row with a numeric input.
Based on the example provided in the above link, I experimented with multiple different syntax but couldn't achieve highlighting multiple rows without using a
loop
.The documentation for dashDataTable > style_data_conditional mentions:
row_index (numeric | a value equal to: 'odd', 'even'; optional)
It seems like
row_index
is currently limited to accepting single numeric input. It would be very nice to be able to apply conditional styles to multiple rows by feeding a vector/list of values. Rather than theloop
in thecallback
, something similar to:In case I am missing it, I would appreciate if you can provide the correct syntax. Thanks.
The text was updated successfully, but these errors were encountered: