Skip to content

[Help] Custom cell render based on filtered table #434

@J-Moravec

Description

@J-Moravec

Hi, thanks for this project, it allowed JS noob like me to make a useful tool.


I have a cell with comma-separated values.

I would like to us a custom renderer where these comma separated values are highlighted (possibly just wrapping a HTML tag around it) depending on

I would like to use a custom renderer where I render part of the cell - one of the comma separated values - (just wrap HTML color tag around it?) in color depending on the presence of the value in some list/array.

The hard part that I can't wrap my head around is that I want the list of values to be created dynamically depending on the current state of filtered table. Is it possible to obtain the content of filtered table so I can work on it dynamically?


The project is here: https://j-moravec.github.io/morrowind-ingredients/
Users can search for location / effect / merchant etc.

I want to highlight an effect (one of the comma separated values in Effect column) if it is mixable based on the current selection. It is mixable if there are two different ingredients having the same effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions