Per discussion with @bmcconaghy, we may want to customize the way the columns of a table sort the rows within that table. For example, if that row contains JSON maybe we can sort based on a specific field within the JSON.
One possible solution would be to add a getSortValue property to the columns Table prop. The consumer can define a function which accepts the cell and row as arguments, and returns a value with which the Table can perform sort comparisons.
Per discussion with @bmcconaghy, we may want to customize the way the columns of a table sort the rows within that table. For example, if that row contains JSON maybe we can sort based on a specific field within the JSON.
One possible solution would be to add a
getSortValueproperty to thecolumnsTable prop. The consumer can define a function which accepts the cell and row as arguments, and returns a value with which the Table can perform sort comparisons.