This is the object passing to ` { id: k, Name: v.timer_name, Impressions: v.impressions, Clicks: v.clicks, Status: v.timer_status, End_Date: v.clicks, Actions:
Copy Code
Edit
Duplicate
Remove
</div></td>`
}
``
Current Output:
The Problem is HTML inside the Actions column isn't rendering and I do not want to show: griddleKey column with its data. Please, Help me with this configuration. I cannot see anything in the docs like that.
To hidde griddleKey, you need to explicitly list the expected <ColumnDefinition />s. For Actions, try a customComponent that uses dangerouslySetInnerHTML:
I don't understand the question. customComponent is the prop you use to specify how a column value should be rendered. If your column value is an Object or an Array, you can teach your customComponent to render from that.
This is the object passing to
- Copy Code
- Edit
- Duplicate
- Remove
mpolinowski
commented
6 years ago
dahlbyk
commented
6 years ago
MahbbRah
commented
6 years ago
dahlbyk
commented
6 years ago
- © Githubissues.
- Githubissues is a development platform for aggregating issues.
` { id: k, Name: v.timer_name, Impressions: v.impressions, Clicks: v.clicks, Status: v.timer_status, End_Date: v.clicks, Actions:
``
Current Output:
The Problem is HTML inside the
Actions
column isn't rendering and I do not want to show:griddleKey
column with its data. Please, Help me with this configuration. I cannot see anything in the docs like that.+1 same issue - could not find a solution yet.
To hidde
griddleKey
, you need to explicitly list the expected<ColumnDefinition />
s. ForActions
, try acustomComponent
that usesdangerouslySetInnerHTML
:@dahlbyk Hey Thanks for your help, Can I use
Object
,Array
instead of customComponent ?I don't understand the question.
customComponent
is the prop you use to specify how a column value should be rendered. If your column value is anObject
or anArray
, you can teach yourcustomComponent
to render from that.