Skip to main content

set_row_style

Function set_row_style 

Source
pub fn set_row_style(
    ws: &mut WorksheetXml,
    row: u32,
    style_id: u32,
) -> Result<()>
Expand description

Set the style for an entire row. The style_id is the ID returned by add_style(). Setting a row style applies the s attribute on the row element and marks customFormat so Excel honours it. Existing cells in the row also have their individual style updated.