How do i bind API response object key dynamically for maxDate

Tags: #<Tag:0x00007efc5fd15080> #<Tag:0x00007efc5fd14c20>

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.