Posted 22 October 2023, 10:44 pm EST
Hi
Is there a way to specify which data parameter a applies to, similar to the way we can set the sortMemberPath to tell the grid which data value the column sorts.
So if we have a data object like
data [
{
Name: ‘example’,
Age: 1,
DateOfBirth: 21/10/2023,
OtherValue: “Something”
},{
Name: ‘example 2’,
Age: 2,
DateOfBirth: 22/10/2023,
OtherValue: “Something else”
},{
Name: ‘example 3’,
Age: 3,
DateOfBirth: 23/10/2023,
OtherValue: “Something other”
},
]
the column could be set up as
binding: ‘Age’
sortMemberPath: ‘DateOfBirth’
filterMemberPath: ‘DateOfBirth’
This would then display the age in the grid but allow the user to sort and filter on the DateOfBirth parameter.