Fixed #2361 - DataView new dataKey property
parent
7d980a74f2
commit
ae843be593
|
@ -88,6 +88,12 @@ const DataViewProps = [
|
|||
type: "boolean",
|
||||
default: "false",
|
||||
description: "Defines if data is loaded and interacted with in lazy manner."
|
||||
},
|
||||
{
|
||||
name: "dataKey",
|
||||
type: "string",
|
||||
default: "null",
|
||||
description: "Name of the data that uniquely identifies the a record in the data."
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -113,6 +113,10 @@ export interface DataViewProps {
|
|||
* Defines if data is loaded and interacted with in lazy manner.
|
||||
*/
|
||||
lazy?: boolean | undefined;
|
||||
/**
|
||||
* Name of the data that uniquely identifies the a record in the data.
|
||||
*/
|
||||
dataKey: string | undefined;
|
||||
}
|
||||
|
||||
export interface DataViewSlots {
|
||||
|
|
|
@ -107,7 +107,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
dataKey: null
|
||||
dataKey: {
|
||||
type: String,
|
||||
default: null
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -334,6 +334,12 @@ export default {
|
|||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
<td>Defines if data is loaded and interacted with in lazy manner.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>dataKey</td>
|
||||
<td>string</td>
|
||||
<td>null</td>
|
||||
<td>Name of the data that uniquely identifies the a record in the data.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue