Closed kayazinc closed 8 years ago
@kayazinc Can you please share some code to show selection highlight?
@csatish, at cell definition, you can set the style.
const DateCell = ({rowIndex, data, col, ...props}) => (
<Cell {...props} className="highlight"> // set the highlight style
{data.getObjectAt(rowIndex)[col].toLocaleString()}
</Cell>
);
Cell class applies at cell not the row level right? @kayazinc
You can use rowClassNameGetter to apply class on a Row. Refer to documentation for more details @varenya
I tried that but it works on cell only...
+1, want to highlight whole row on hover; no success (
i can't use rowClassNameGetter to change row's background color , it'cant change row's background color, only cell background, any idea ?
Use-case
I tried the solution on https://github.com/facebook/fixed-data-table/issues/189 and the following is the result:
See the blue circle, there is a empty "space". Is there anyway to fill the entire row, i.e. fill the empty space too?