Fixed #2589 - DataTable: support passing a function to the dataKey prop

This commit is contained in:
Tuğçe Küçükoğlu 2022-05-31 15:03:53 +03:00
parent bb6dcfb7d3
commit 8e632d93ac
3 changed files with 6 additions and 3 deletions

View file

@ -7,7 +7,7 @@ const DataTableProps = [
},
{
name: "dataKey",
type: "string",
type: "string|function",
default: "null",
description: "Name of the field that uniquely identifies the a record in the data."
},