fin-hypergrid / fin-hypergrid/core

Row props obscure cell props

Open
#639 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
907
Forks
139
PR merge metrics
No merged PRs in 30d

Description

## The issue

This ticket addresses a problem I recently observed where cell properties were being obscured by row properties, which should be the other way around.

In other words, properties are being applied in this order:

> **grid ← column ← cell ← row**

But should be applied in this order:

> **grid ← column ← row ← cell**

## Background

Hypergrid has limited support for row properties, which differs in approach from cell, column, and grid properties.

The only property Hypergrid currently supports for individual rows is row height, which is `grid.properties.defaultRowHeight` when not overridden by `grid.setRowHeight(y, height)`.

Other row properties, such as `color` and `backgroundColor` can only be set in the `rowProperties` array which, when defined, is cyclicly applied to all rows. For example, a three element array is applied to rows 1-3, 4-6, 7-9, _etc._

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.