Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Style_data_conditional to compare multiple columns

$
0
0

@Twisterbboy wrote:

Is there a way to be able to compare two user-entered values (therefore strings) in two different columns of a table?

For example:

style_data_conditional = [{
        'if': {'column_id': 'a',
        'filter_query': '{a} >= {b}'},
        'background_color': 'red'
    },...

in this example I cannot compare these values, since they are strings.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles