Closed KiddoV closed 5 months ago
Only the lowest node needs to set a field @KiddoV
I see, and I didn't know we can assign field with flat object format (with the dot) like:
{
title: "Full Name",
columns: [
{
field: "fullName.firstName",
title: "First Name",
width: 200
},
{
field: "fullName.lastName",
title: "Last Name",
width: 200
}
]
}
I guess the docs wasn't clear enough. Thanks!
Version
^0.25.0
Link to Minimal Reproduction
N/A
Steps to Reproduce
Define the table options like:
Got error in VSCode:
Current Behavior
VSCode display error as above, but the table seems to render normally.
Expected Behavior
No error in VSCode
Environment
Any additional comments?
tsconfig.json