How do i bind API response object key dynamically for maxDate

Tags: #<Tag:0x00007f0b099b37d0> #<Tag:0x00007f0b099b3500>

Assume that we have a response stored in react state: const [res, setRes] = useState(ApiResponse).;

const res = [
{submissionName:“SUB1”, dateObj: “12-08-2021”},
];
i have binded response to HotTable like below:

{ console.log(row[prop]); // <-- log the data prop value const initiationDate = row[prop]; return initiationDate ? new Date(initiationDate) : null; } }} />

Hi @webgunti

Can you please share a code demo showing your solution? What is the exact issue you encountered here?

Hi @adrian.szymanski , I have resolved the above issue.

Thank you

Glad to hear that. I’m closing this topic then.