zng::grid::row

Function is_odd

source
pub fn is_odd(child: impl UiNode, state: impl IntoVar<bool>) -> impl UiNode
Expand description

P If the row index is odd.

Row index is zero-based, so the first row is_even, the next one is odd.